Commit e46938ba authored by Tianyi Gou's avatar Tianyi Gou Committed by Stepan Moskovchenko
Browse files

msm: clock-local: Add md_reg check for rcg_clock handoff



md_reg may be not present for some clocks with banks e.g. rot_clk
so need to add this check for these clocks. Otherwise, there might
be pointer dereference issue.

Change-Id: I3ad44232fa785d2cbca9ef81ac85843103ada3c6
Signed-off-by: default avatarTianyi Gou <tgou@codeaurora.org>
parent 4a834c3d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment