msm: clock-local: Avoid potential NULL dereference in branch_disable_reg()
msm: clock-local: Avoid potential NULL dereference in branch_disable_reg()

It's possible that ctl_reg is NULL here if en_mask is non-zero.
Check for a non-NULL ctl_reg pointer to avoid dereferencing a
NULL pointer.

Change-Id: I623ff489973a566e9ce6856513e030ee928db0ba
Signed-off-by: Stephen Boyd <010521127f513270fe503d86ab8316ac5147f4b7@codeaurora.org>

TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas