summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2020-09-15 17:56:40 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2020-09-16 10:42:16 -0700
commitcafb3abea6136e59ea534004e5773361e196bb94 (patch)
treeb289d11ce65e3e776b10d26c3f20bd8eb0038d2e /Documentation/devicetree
parentc277e1f0dc3c7d7b5b028e20dd414df241642036 (diff)
downloadlinux-cafb3abea6136e59ea534004e5773361e196bb94.tar.bz2
Input: sun4i-ps2 - fix handling of platform_get_irq() error
platform_get_irq() returns -ERRNO on error. In such case comparison to 0 would pass the check. Fixes: e443631d20f5 ("Input: serio - add support for Alwinner A10/A20 PS/2 controller") Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Acked-by: Chen-Yu Tsai <wens@csie.org> Link: https://lore.kernel.org/r/20200828145744.3636-4-krzk@kernel.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'Documentation/devicetree')
0 files changed, 0 insertions, 0 deletions