ar71xx: spi-rb4xx: balance clk_prepare_enable() call
authorGabor Juhos <juhosg@freemail.hu>
Tue, 19 Dec 2017 07:24:38 +0000 (08:24 +0100)
committerJohn Crispin <john@phrozen.org>
Sun, 24 Dec 2017 08:03:01 +0000 (09:03 +0100)
commit6456999731fa8d22419ffeef9c1710e484620c80
treee5a624872700ab70897e41d9f73060fefac18e83
parentdf68e63a4f297c85c240f670fded55d3d3387dc4
ar71xx: spi-rb4xx: balance clk_prepare_enable() call

Commit c312cef223dd ("ar71xx: spi-rb4xx fix.") replaced the clk_enable() call
with clk_prepare_enable() to meet the common clock framework requirements.
However it did not change the clk_disable() call in the error patch which
thus leads to imbalance.

Fix the code by using the correct counterpart of clk_prepare_enable() in both
places.

Fixes: c312cef223dd ("ar71xx: spi-rb4xx fix.")
Signed-off-by: Gabor Juhos <juhosg@freemail.hu>
target/linux/ar71xx/files/drivers/spi/spi-rb4xx.c