From c20f525d75eb0da1882cfb282c5e7a619dc5fc63 Mon Sep 17 00:00:00 2001 From: xuwt2 Date: Tue, 4 Feb 2020 17:07:01 +0800 Subject: [PATCH] qpnp-smb5: enable IRQ and MISC debug_mask Enable the debug log or IRQ and MISC charger event for charger issue dignosis Change-Id: I68743f335eb4805bf4216035ac864811e5cc7452 Signed-off-by: xuwt2 Reviewed-on: https://gerrit.mot.com/1492207 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Jianqi Yang Submit-Approved: Jira Key Reviewed-on: https://gerrit.mot.com/1770257 Reviewed-by: Huosheng Liao --- drivers/power/supply/qcom/qpnp-smb5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/supply/qcom/qpnp-smb5.c b/drivers/power/supply/qcom/qpnp-smb5.c index 8b755c70712c..21507267e9b8 100644 --- a/drivers/power/supply/qcom/qpnp-smb5.c +++ b/drivers/power/supply/qcom/qpnp-smb5.c @@ -229,7 +229,7 @@ struct smb5 { struct iio_chan_spec *iio_chan_ids; }; -static int __debug_mask; +static int __debug_mask = PR_MISC | PR_INTERRUPT; static ssize_t pd_disabled_show(struct device *dev, struct device_attribute *attr, char *buf)