msm: cpr: enable clock for cpr in msm_cpr_probe
Currenly, the clock for cpr is enabled in msm_cpr_init() prior to
the registration of cpr device and we aren't disabling the clock if
device registration failed. Now, we are enabling the clock in
msm_cpr_probe() i.e., after device is successfully registered.
Change-Id: Iee096aa3d3c80904e6364bb39e84fe20c2ba6115
Signed-off-by:
Tirupathi Reddy <tirupath@codeaurora.org>
Loading
Please register or sign in to comment