uio: pruss: add clk_disable()
authorAlexey Khoroshilov <khoroshilov@ispras.ru>
Fri, 25 Nov 2016 21:55:30 +0000 (00:55 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Nov 2016 19:43:12 +0000 (20:43 +0100)
commite663c5dbad2999aa824045c8e01fed459d1fc833
treed11b8b5c1323bc799d437e0b31639ee07e3430b5
parent999e4bf1d736611b84b6b695531ce29b9319241f
uio: pruss: add clk_disable()

pruss_probe() enables gdev->pruss_clk, but there is no clk_disable()
in the driver.

The patch adds clk_disable() to pruss_cleanup() and error handling for
clk_enable().

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

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/uio/uio_pruss.c