]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
watchdog: davinci: Handle return value of clk_prepare_enable
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Tue, 6 Jun 2017 10:17:53 +0000 (15:47 +0530)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 3 Jul 2017 09:02:38 +0000 (11:02 +0200)
commit8f11eb58ad5747bab622910cc2efaa45e6a21c1f
tree6f685b912fabac260b4b4b70a322f821a8618d19
parent65360944c19814a6d3c0a58c5a983f7198d29c51
watchdog: davinci: 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/davinci_wdt.c