commit | 3ea68922fc4148abc97557df43d4ba9a136b1c8d | [log] [tgz] |
---|---|---|
author | Heiko Stuebner <heiko@sntech.de> | Mon Apr 20 01:00:53 2015 +0200 |
committer | Mark Yao <mark.yao@rock-chips.com> | Mon Apr 20 09:02:31 2015 +0800 |
tree | 68738f2926b5c5fc0d6bc7318d52499cc87294d2 | |
parent | 625e03461ba51592ac785214b2254af7bd630077 [diff] |
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: David Binderman <dcb314@hotmail.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de> Reviewed-By: Daniel Kurtz <djkurtz@chromium.org>