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

Commit 04ee9ecf authored by Jishnu Prakash's avatar Jishnu Prakash
Browse files

thermal: qpnp-adc: Update ADC_TM interrupt type



Change interrupt type to edge to match with ADC_TM
driver on other kernel versions.

Change-Id: I09d1bdfa2f4c469a6833dd0b75a47a22f3e6d426
Signed-off-by: default avatarJishnu Prakash <jprakash@codeaurora.org>
parent 917f9c5b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2012-2019, 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
@@ -3239,7 +3239,7 @@ static int qpnp_adc_tm_probe(struct platform_device *pdev)
	} else {
		rc = devm_request_irq(&pdev->dev, chip->adc->adc_irq_eoc,
				qpnp_adc_tm_rc_thr_isr,
			IRQF_TRIGGER_HIGH, "qpnp_adc_tm_interrupt", chip);
			IRQF_TRIGGER_RISING, "qpnp_adc_tm_interrupt", chip);
		if (rc)
			dev_err(&pdev->dev, "failed to request adc irq\n");
		else