kernel icon indicating copy to clipboard operation
kernel copied to clipboard

kernel: driver: rk628 fix clk disable when probe success

Open CmST0us opened this issue 1 year ago • 0 comments

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.

CmST0us avatar Mar 10 '24 14:03 CmST0us