diff options
| author | Philipp Zabel <[email protected]> | 2021-06-07 10:26:15 +0200 |
|---|---|---|
| committer | Philipp Zabel <[email protected]> | 2021-06-07 11:26:31 +0200 |
| commit | 4fb26fb83f0def3d39c14e268bcd4003aae8fade (patch) | |
| tree | 49589e55f098e2c04ac377eb6a5fdb222da99614 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | 91105ed604e4ea7075a35a1ef8bc1782d347290e (diff) | |
reset: bail if try_module_get() fails
Abort instead of returning a new reset control for a reset controller
device that is going to have its module unloaded.
Reported-by: Uwe Kleine-König <[email protected]>
Fixes: 61fc41317666 ("reset: Add reset controller API")
Acked-by: Uwe Kleine-König <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Philipp Zabel <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions