msm: cpr: Protect the exported CPR functions when CPR is disabled

Exported CPR functions like suspend, resume, enable and disable
needs to be checked against the enable flag and return from them
if CPR is disabled using kernel command line.

Change-Id: If81affb6e28f68dd482037fc9513945487bf4e43
Signed-off-by: Trilok Soni <tsoni@codeaurora.org>
1 file changed