On 05/11, Pramod Gurav wrote: > msm_serial driver provides a .pm callback to the serial core to enable > and disable clock resource in suspend/resume path. This function is > also called before msm_startup. msm_startup also enables the clocks which > is not needed. Hence remove the duplcate clock operation from msm_startup > and msm_shutdown. Same is done in console setup to get rid of duplicate > clock operation.
I had to check and I see that for the console case we call the .pm callback and don't turn it off until suspend/resume paths (would be nice to add suspend/resume to this driver too). I guess that's what you meant by this last sentence? > > Tested on DB410C console. > > Signed-off-by: Pramod Gurav <pramod.gu...@linaro.org> Reviewed-by: Stephen Boyd <sb...@codeaurora.org> -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project