r8169: prepare rtl_hw_aspm_clkreq_enable for usage in atomic context
[ Upstream commit 49ef7d84 ] Bail out if the function is used with chip versions that don't support ASPM configuration. In addition remove the delay, it tuned out that it's not needed, also vendor driver r8125 doesn't have it. Suggested-by:Kai-Heng Feng <kai.heng.feng@canonical.com> Reviewed-by:
Simon Horman <simon.horman@corigine.com> Tested-by:
Kai-Heng Feng <kai.heng.feng@canonical.com> Tested-by:
Holger Hoffstätte <holger@applied-asynchrony.com> Signed-off-by:
Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by:
David S. Miller <davem@davemloft.net> Stable-dep-of: 5e864d90 ("r8169: skip DASH fw status checks when DASH is disabled") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please sign in to comment