]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
watchdog: meson: Handle return value of clk_prepare_enable
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Wed, 7 Jun 2017 09:34:15 +0000 (15:04 +0530)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 3 Jul 2017 09:02:31 +0000 (11:02 +0200)
commit65360944c19814a6d3c0a58c5a983f7198d29c51
tree27dae143f220817918e61ff51ea7607ad3de4aa8
parentcddda07c7b31828f08c18f5898df0e457d280ada
watchdog: meson: Handle return value of clk_prepare_enable

clk_prepare_enable() can fail here and we must check its return value.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/meson_gxbb_wdt.c