summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
3fbadd6)
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>
- err = clk_enable(rbspi->ahb_clk);
+ err = clk_prepare_enable(rbspi->ahb_clk);
if (err)
goto err_clk_put;
if (err)
goto err_clk_put;