Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 07a3bdc0 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "i2c: i2c-msm-v2: set irq flag to IRQF_EARLY_RESUME for i2c"

parents f9c8d6dd c9289da0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2014-2019, 2020, The Linux Foundation. All rights reserved.
 * Copyright (c) 2014-2019, 2020-2021 The Linux Foundation. All rights reserved.
 */

/*
@@ -2488,7 +2488,7 @@ static int i2c_msm_rsrcs_irq_init(struct platform_device *pdev,
		return irq;
	}

	ret = request_irq(irq, i2c_msm_qup_isr, IRQF_TRIGGER_HIGH,
	ret = request_irq(irq, i2c_msm_qup_isr, IRQF_TRIGGER_HIGH | IRQF_EARLY_RESUME,
						"i2c-msm-v2-irq", ctrl);
	if (ret) {
		dev_err(ctrl->dev, "error request_irq(irq_num:%d ) ret:%d\n",