summaryrefslogtreecommitdiff
path: root/.mailmap
diff options
context:
space:
mode:
authorZong Li <zong.li@sifive.com>2021-05-22 12:16:11 +0300
committerDavid S. Miller <davem@davemloft.net>2021-05-24 02:15:11 +0300
commit5eff1461a6dec84f04fafa9128548bad51d96147 (patch)
tree1aff641082c50ba6bbf8d2d325d5a6dfaa28a82a /.mailmap
parentad79fd2c42f7626bdf6935cd72134c2a5a59ff2d (diff)
downloadlinux-5eff1461a6dec84f04fafa9128548bad51d96147.tar.xz
net: macb: ensure the device is available before accessing GEMGXL control registers
If runtime power menagement is enabled, the gigabit ethernet PLL would be disabled after macb_probe(). During this period of time, the system would hang up if we try to access GEMGXL control registers. We can't put runtime_pm_get/runtime_pm_put/ there due to the issue of sleep inside atomic section (7fa2955ff70ce453 ("sh_eth: Fix sleeping function called from invalid context"). Add netif_running checking to ensure the device is available before accessing GEMGXL device. Changed in v2: - Use netif_running instead of its own flag Signed-off-by: Zong Li <zong.li@sifive.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions