[PATCH v2] ath9k: use unmanaged PCI functions in ath9k_pci_owl_loader
Kalle Valo
kvalo at kernel.org
Thu Aug 1 07:58:55 PDT 2024
Heiner Kallweit <hkallweit1 at gmail.com> wrote:
> Only managed PCI resource in the driver is the iomapped bar. However the bar
> is unmapped in the same function. Therefore using the device-managed
> versions just causes overhead, w/o any benefit. Once this is switched to the
> non-managed versions, there's nothing left to be managed for
> pcim_enable_device(). Therefore we can reduce overhead here too and switch to
> the non-managed version as well. This includes removing the no longer needed
> call to pcim_pin_device().
>
> Signed-off-by: Heiner Kallweit <hkallweit1 at gmail.com>
> Acked-by: Toke Høiland-Jørgensen <toke at toke.dk>
> Signed-off-by: Kalle Valo <quic_kvalo at quicinc.com>
Patch applied to ath-next branch of ath.git, thanks.
aa0d7643c8dd wifi: ath9k: use unmanaged PCI functions in ath9k_pci_owl_loader
--
https://patchwork.kernel.org/project/linux-wireless/patch/3b46f6c7-4372-4cc9-9a7c-2c1c06d29324@gmail.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
More information about the linux-arm-kernel
mailing list