diff options
| author | Zhen Lei <[email protected]> | 2021-05-13 13:46:38 +0000 |
|---|---|---|
| committer | Anitha Chrisanthus <[email protected]> | 2021-06-22 17:33:49 +0000 |
| commit | 6fd8f323b3e4e5290d02174559308669507c00dd (patch) | |
| tree | 24967c045deb3276a15366532859744a25883700 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | drm/amdgpu: wait for moving fence after pinning (diff) | |
| download | kernel-6fd8f323b3e4e5290d02174559308669507c00dd.tar.gz kernel-6fd8f323b3e4e5290d02174559308669507c00dd.zip | |
drm/kmb: Fix error return code in kmb_hw_init()
When the call to platform_get_irq() to obtain the IRQ of the lcd fails, the
returned error code should be propagated. However, we currently do not
explicitly assign this error code to 'ret'. As a result, 0 was incorrectly
returned.
Fixes: 7f7b96a8a0a1 ("drm/kmb: Add support for KeemBay Display")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Zhen Lei <[email protected]>
Signed-off-by: Anitha Chrisanthus <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
