Skip to content
Commit 3ea68922 authored by Heiko Stuebner's avatar Heiko Stuebner Committed by Mark Yao
Browse files

drm/rockchip: fix error check when getting irq



platform_get_irq() can return negative error values and we already test for
these. Therefore the variable holding this value should be signed to not
loose possible error values.

Reported-by: default avatarDavid Binderman <dcb314@hotmail.com>
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
Reviewed-By: default avatarDaniel Kurtz <djkurtz@chromium.org>
parent 625e0346
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment