aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/atom.c
diff options
context:
space:
mode:
authorBrian Norris <[email protected]>2017-03-11 01:39:22 +0000
committerKalle Valo <[email protected]>2017-03-16 08:14:12 +0000
commitba1c7e45ec224cc8d2df33ecaee1946d48e79231 (patch)
tree761f3ca7e08cbb0292b580cce6be98fbe46e78f2 /drivers/gpu/drm/amd/amdgpu/atom.c
parentmwifiex: pcie: don't leak DMA buffers when removing (diff)
downloadkernel-ba1c7e45ec224cc8d2df33ecaee1946d48e79231.tar.gz
kernel-ba1c7e45ec224cc8d2df33ecaee1946d48e79231.zip
mwifiex: set adapter->dev before starting to use mwifiex_dbg()
The mwifiex_dbg() log handler utilizes the struct device in adapter->dev. Without it, it decides not to print anything. As of commit 2e02b5814217 ("mwifiex: Allow mwifiex early access to device structure"), we started assigning that pointer only after we finished mwifiex_register() -- this effectively neuters any mwifiex_dbg() logging done before this point. Let's move the device assignment into mwifiex_register(). Fixes: 2e02b5814217 ("mwifiex: Allow mwifiex early access to device structure") Cc: Rajat Jain <[email protected]> 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