aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/atom.c
diff options
context:
space:
mode:
authorBrian Norris <[email protected]>2017-03-11 01:39:23 +0000
committerKalle Valo <[email protected]>2017-03-16 08:14:13 +0000
commit36908c4e5b1063eff3e11336fab544a76c625b69 (patch)
tree10f6288109ae34932b02229df571a0cf66e729af /drivers/gpu/drm/amd/amdgpu/atom.c
parentmwifiex: set adapter->dev before starting to use mwifiex_dbg() (diff)
downloadkernel-36908c4e5b1063eff3e11336fab544a76c625b69.tar.gz
kernel-36908c4e5b1063eff3e11336fab544a76c625b69.zip
mwifiex: uninit wakeup info when removing device
We manually init wakeup info, but we don't detach it on device removal. This means that if we (for example) rmmod + modprobe the driver, the device framework might return -EEXIST the second time, and we'll complain in the logs: [ 839.311881] mwifiex_pcie 0000:01:00.0: fail to init wakeup for mwifiex AFAICT, there's no other negative effect. But we can fix this by disabling wakeup on remove, similar to what a few other drivers do (e.g., the power supply framework). This code (and bug) has existed on SDIO for a while, but it got moved around and enabled for PCIe with commit 853402a00823 ("mwifiex: Enable WoWLAN for both sdio and pcie"). Signed-off-by: Brian Norris <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atom.c')
0 files changed, 0 insertions, 0 deletions