Merge "disp: msm: dsi: Don't clear status interrupts while error interrupts toggle"

This commit is contained in:
qctecmdr
2022-04-30 22:49:59 -07:00
committed by Gerrit - the friendly Code Review server

View File

@@ -1,6 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-only // SPDX-License-Identifier: GPL-2.0-only
/* /*
* Copyright (c) 2015-2021, The Linux Foundation. All rights reserved. * Copyright (c) 2015-2021, The Linux Foundation. All rights reserved.
* Copyright (c) 2022, Qualcomm Innovation Center, Inc. All rights reserved.
*/ */
#include <linux/delay.h> #include <linux/delay.h>
@@ -1439,6 +1440,9 @@ void dsi_ctrl_hw_cmn_enable_error_interrupts(struct dsi_ctrl_hw *ctrl,
else else
int_ctrl &= ~BIT(25); int_ctrl &= ~BIT(25);
/* Do not clear interrupt status */
int_ctrl &= 0xAAEEAAFE;
if (errors & DSI_RDBK_SINGLE_ECC_ERR) if (errors & DSI_RDBK_SINGLE_ECC_ERR)
int_mask0 &= ~BIT(0); int_mask0 &= ~BIT(0);
if (errors & DSI_RDBK_MULTI_ECC_ERR) if (errors & DSI_RDBK_MULTI_ECC_ERR)