[PATCH v2 8/9] wifi: ath12k: Use RMW accessors for changing LNKCTL
Kalle Valo
kvalo at kernel.org
Wed May 17 04:03:57 PDT 2023
Ilpo Järvinen <ilpo.jarvinen at linux.intel.com> writes:
> Don't assume that only the driver would be accessing LNKCTL. ASPM
> policy changes can trigger write to LNKCTL outside of driver's control.
>
> Use RMW capability accessors which do proper locking to avoid losing
> concurrent updates to the register value. On restore, clear the ASPMC
> field properly.
>
> Fixes: d889913205cf ("wifi: ath12k: driver for Qualcomm Wi-Fi 7 devices")
> Suggested-by: Lukas Wunner <lukas at wunner.de>
> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen at linux.intel.com>
> Cc: stable at vger.kernel.org
Acked-by: Kalle Valo <kvalo at kernel.org>
--
https://patchwork.kernel.org/project/linux-wireless/list/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
More information about the ath12k
mailing list