Commit a2e9b9b6 authored by Trilok Soni's avatar Trilok Soni Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarTrilok Soni <tsoni@codeaurora.org>
parent 429b4a64
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment