Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1163128

[PATCH] staging: ste_rmi4: Add IRQF_ONESHOT flag

From "Abdul, Hussain (H.)" <habdul@visteon.com>
Newsgroups linux.kernel
Subject [PATCH] staging: ste_rmi4: Add IRQF_ONESHOT flag
Date 2015-06-11 12:40 +0200
Message-ID <pA83T-30J-13@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


This patch add IRQF_ONESHOT flag in threaded IRQs request without a primary handler.

Signed-off-by: Abdul Hussain <habdul@visteon.com>
---
 drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c b/drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c
index 0f524bb..7caaae0 100644
--- a/drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c
+++ b/drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c
@@ -987,7 +987,7 @@ static int synaptics_rmi4_probe
 				rmi4_data->number_of_interrupt_register);
 	retval = request_threaded_irq(client->irq, NULL,
 					synaptics_rmi4_irq,
-					platformdata->irq_type,
+					platformdata->irq_type | IRQF_ONESHOT,
 					DRIVER_NAME, rmi4_data);
 	if (retval) {
 		dev_err(&client->dev, "Unable to get attn irq %d\n",
-- 
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH] staging: ste_rmi4: Add IRQF_ONESHOT flag "Abdul, Hussain (H.)" <habdul@visteon.com> - 2015-06-11 12:40 +0200

csiph-web