ar71xx: spi-rb4xx fix.
authorSergey Sergeev <adron@yapic.net>
Thu, 30 Jun 2016 10:23:15 +0000 (13:23 +0300)
committerJohn Crispin <john@phrozen.org>
Sat, 2 Jul 2016 08:16:17 +0000 (10:16 +0200)
commitc312cef223ddc164b8d3fd3a195eb88a43ede901
tree4bf8b3c7b650fae7a50fa64e83cd03a6c6e491ab
parent3fbadd624a02c96081d874207a3e225c5647e306
ar71xx: spi-rb4xx fix.

In new kernels we should use clk_prepare_enable instead of clk_enable
since clk_enable does not make proper initialization that leads
to rise WARN_ON messages and not working spi bus on the device.

Signed-off-by: Sergey Sergeev <adron@yapic.net>
target/linux/ar71xx/files/drivers/spi/spi-rb4xx.c