diff options
| author | Dan Carpenter <[email protected]> | 2023-12-06 12:02:05 +0000 |
|---|---|---|
| committer | Dmitry Baryshkov <[email protected]> | 2023-12-08 01:11:47 +0000 |
| commit | c4ac0c6c96f0985357c5866cf22fd642390409dd (patch) | |
| tree | 77c37175471821929c8ba2c27b28ad1f9c9597c8 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
| parent | drm/msm/dp: Add DisplayPort controller for SM8650 (diff) | |
| download | kernel-c4ac0c6c96f0985357c5866cf22fd642390409dd.tar.gz kernel-c4ac0c6c96f0985357c5866cf22fd642390409dd.zip | |
drm/msm/dp: Fix platform_get_irq() check
The platform_get_irq() function returns negative error codes. It never
returns zero. Fix the check accordingly.
Fixes: 82c2a5751227 ("drm/msm/dp: tie dp_display_irq_handler() with dp driver")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Dmitry Baryshkov <[email protected]>
Patchwork: https://patchwork.freedesktop.org/patch/570755/
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Baryshkov <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions
