kernel
kernel copied to clipboard
kernel: driver: rk628 fix clk disable when probe success
Fix #322 In rk628_csi_probe_of function, when we got success in probe, the ret value is 0, but the clk_disable_unprepare(csi->soc_24M) still will be invoked. This will cause the enable_count of soc_24M minus 1. So if there is no other driver use soc_24M, the clock will be disable, and the the i2c comunication will be failed.