public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Update sample random irq flag
@ 2006-02-18  8:19 Dirk Behme
  2006-02-20 22:49 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Dirk Behme @ 2006-02-18  8:19 UTC (permalink / raw)
  To: linux-omap-open-source

[-- Attachment #1: Type: text/plain, Size: 140 bytes --]


ARM: OMAP: Update usage of SA_SAMPLE_RANDOM flag as proposed
by Juha Yrjölä.

Signed-off-by: Dirk Behme <dirk.behme_at_gmail.com>



[-- Attachment #2: sample_random_patch.txt --]
[-- Type: text/plain, Size: 1679 bytes --]

--- ./drivers/i2c/chips/isp1301_omap.c_orig	2006-02-18 07:44:36.000000000 +0100
+++ ./drivers/i2c/chips/isp1301_omap.c	2006-02-18 09:00:41.000000000 +0100
@@ -1527,7 +1527,7 @@ static int isp1301_probe(struct i2c_adap
 	isp->timer.data = (unsigned long) isp;
 
 	isp->irq = -1;
-	isp->irq_type = SA_SAMPLE_RANDOM;
+	isp->irq_type = 0;
 	isp->client.addr = address;
 	i2c_set_clientdata(&isp->client, isp);
 	isp->client.adapter = bus;
--- ./drivers/i2c/chips/tps65010.c_orig	2006-02-18 07:44:36.000000000 +0100
+++ ./drivers/i2c/chips/tps65010.c	2006-02-18 09:00:41.000000000 +0100
@@ -527,7 +527,7 @@ fail1:
 		return 0;
 	}
 
-	tps->irq_type = SA_SAMPLE_RANDOM;
+	tps->irq_type = 0;
 
 #ifdef	CONFIG_ARM
 	if (machine_is_omap_h2()) {
--- ./drivers/input/touchscreen/omap/omap_ts.c_orig	2006-02-18 07:44:40.000000000 +0100
+++ ./drivers/input/touchscreen/omap/omap_ts.c	2006-02-18 09:00:41.000000000 +0100
@@ -162,7 +162,8 @@ static int __init omap_ts_probe(struct p
 
 	/* request irq */
 	if (ts_omap.irq != -1) {
-		if (request_irq(ts_omap.irq, omap_ts_handler, ts_omap.irq_type,
+		if (request_irq(ts_omap.irq, omap_ts_handler,
+                                SA_SAMPLE_RANDOM | ts_omap.irq_type,
 				OMAP_TS_NAME, &ts_omap)) {
 			printk(KERN_ERR
 	  "omap_ts.c: Could not allocate touchscreen IRQ!\n");
--- ./drivers/input/touchscreen/omap/ts_inn1510.c_orig	2006-02-18 07:44:40.000000000 +0100
+++ ./drivers/input/touchscreen/omap/ts_inn1510.c	2006-02-18 09:09:31.000000000 +0100
@@ -176,7 +176,7 @@ static int __init inn1510_ts_probe(struc
 		return -ENODEV;
 
 	ts->irq = OMAP1510_INT_FPGA_TS;
-	ts->irq_type = SA_SAMPLE_RANDOM;
+	ts->irq_type = 0;
 	
 	return 0;
 }


[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Update sample random irq flag
  2006-02-18  8:19 [PATCH] Update sample random irq flag Dirk Behme
@ 2006-02-20 22:49 ` Tony Lindgren
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2006-02-20 22:49 UTC (permalink / raw)
  To: Dirk Behme; +Cc: linux-omap-open-source

* Dirk Behme <dirk.behme@googlemail.com> [060218 00:22]:
> 
> ARM: OMAP: Update usage of SA_SAMPLE_RANDOM flag as proposed
> by Juha Yrjölä.

Pushing today, thanks.

Tony

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-02-20 22:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-18  8:19 [PATCH] Update sample random irq flag Dirk Behme
2006-02-20 22:49 ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox