soc: qcom: smd-rpm: Correct the active vs sleep state flagging
authorBjorn Andersson <bjorn.andersson@sonymobile.com>
Tue, 13 Oct 2015 20:57:43 +0000 (13:57 -0700)
committerAndy Gross <agross@codeaurora.org>
Wed, 14 Oct 2015 19:51:22 +0000 (14:51 -0500)
commita8ddd1b998bdad9489876a3068cc45917bee5441
treeeccb932fd05e890a65f82ad6d7f5e2fed0fd04c1
parent6083096d961f3cf754c4da282179053f7b85ac16
soc: qcom: smd-rpm: Correct the active vs sleep state flagging

The BIT() was incorrectly inherited from family A and should not be used
on family B where the state is denoted by an enum.

Reported-by: Georgi Djakov <georgi.djakov@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Tested-by: Georgi Djakov <georgi.djakov@linaro.org>
Signed-off-by: Andy Gross <agross@codeaurora.org>
drivers/soc/qcom/smd-rpm.c