diff options
| author | Puja Gupta <pujag@codeaurora.org> | 2017-02-24 17:19:38 -0800 |
|---|---|---|
| committer | Puja Gupta <pujag@codeaurora.org> | 2017-02-27 12:33:18 -0800 |
| commit | bf57c353c0c75781a44831670ab3ecf575ef8f99 (patch) | |
| tree | ec26ea2e0575ec82392def117fa7471e902dd8f9 /include/soc/qcom | |
| parent | 98094e2149dad0658346d504edde8aac9a921500 (diff) | |
soc: qcom: Propagate separate error code for PDR disabled
In case of user PD restart requests from clients, return a separate error
code if PDR is disabled on subsystem. This is so that clients can
distinguish it from other error cases and take appropriate action.
CRs-Fixed: 2011758
Change-Id: Ifac7779455a3984de97a4e3e2f33bd74c5148cab
Signed-off-by: Puja Gupta <pujag@codeaurora.org>
Diffstat (limited to 'include/soc/qcom')
| -rw-r--r-- | include/soc/qcom/msm_qmi_interface.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/soc/qcom/msm_qmi_interface.h b/include/soc/qcom/msm_qmi_interface.h index 135265b74991..5ca808dd1fc2 100644 --- a/include/soc/qcom/msm_qmi_interface.h +++ b/include/soc/qcom/msm_qmi_interface.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2012-2015, The Linux Foundation. All rights reserved. +/* Copyright (c) 2012-2015, 2017 The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -92,6 +92,7 @@ enum qmi_result_type_v01 { QMI_RESULT_TYPE_MIN_ENUM_VAL_V01 = INT_MIN, QMI_RESULT_SUCCESS_V01 = 0, QMI_RESULT_FAILURE_V01 = 1, + QMI_ERR_DISABLED_V01 = 0x45, QMI_RESULT_TYPE_MAX_ENUM_VAL_V01 = INT_MAX, }; |
