[PATCH] ath10k: add SoC power save option to PCI features map

Kalle Valo kvalo at qca.qualcomm.com
Fri Aug 2 03:47:44 EDT 2013


Bartosz Markowski <bartosz.markowski at tieto.com> writes:

> Unify the PCI options location.
>
> By default the SoC PS option is disabled to boost the
> performance and due to poor stability on early HW revisions.
> In future we can remove the module parameter and turn on/off
> the PS for given hardware.
>
> This change also makes the pci module parameter for SoC PS static.
>
> Signed-off-by: Bartosz Markowski <bartosz.markowski at tieto.com>

A minor nitpick:

> +	if (!test_bit(ATH10K_PCI_FEATURE_SOC_POWER_SAVE, ar_pci->features))
> +		ath10k_do_pci_wake(ar); /* Force AWAKE forever */

if (foo)
        /* comment */
        function_call();

-- 
Kalle Valo



More information about the ath10k mailing list