OSDN Git Service

media: rc: ir-hix5hd2: fix error handling of clk_prepare_enable()
authorAlexey Khoroshilov <khoroshilov@ispras.ru>
Fri, 26 Jan 2018 22:10:17 +0000 (17:10 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 14 Feb 2018 18:35:05 +0000 (13:35 -0500)
commitde5b22d98705a4c103492e36a5220faca5a2d0a0
tree580184a042c5acf68e2f6b31596f1c98cf479d59
parent22756ae7319b0afc2a80fbdec365a6976a1ad350
media: rc: ir-hix5hd2: fix error handling of clk_prepare_enable()

Return code of clk_prepare_enable() is ignored in many places.
The patch adds error handling for all of them.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/rc/ir-hix5hd2.c