]> asedeno.scripts.mit.edu Git - linux.git/commit
remoteproc/davinci: add the missing retval check for clk_enable()
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 2 May 2018 09:56:57 +0000 (11:56 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 9 May 2018 21:30:34 +0000 (14:30 -0700)
commit2310eae90f26f1cb8039bdfbfe6fe981e9838e80
treecc6598a9f924fc1a7505c22e06bf2bd512466ae0
parent9935448e207cc9e7e5fd3c6aa3282ff503f263c4
remoteproc/davinci: add the missing retval check for clk_enable()

The davinci platform is being switched to using the common clock
framework, where clk_enable() can fail. Add the return value check.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Acked-by: Suman Anna <s-anna@ti.com>
Reviewed-by: David Lechner <david@lechnology.com>
Reviewed-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/da8xx_remoteproc.c