]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Update usage of SA_SAMPLE_RANDOM flag
authorDirk Behme <dirk.behme@googlemail.com>
Mon, 20 Feb 2006 22:49:12 +0000 (14:49 -0800)
committerTony Lindgren <tony@atomide.com>
Mon, 20 Feb 2006 22:49:12 +0000 (14:49 -0800)
As proposed by Juha Yrjölä.

Signed-off-by: Dirk Behme <dirk.behme_at_gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/i2c/chips/isp1301_omap.c
drivers/i2c/chips/tps65010.c
drivers/input/touchscreen/omap/omap_ts.c
drivers/input/touchscreen/omap/ts_inn1510.c

index 14c63ae9f5d77491b3b29e8768436f169142c698..8e5f37c6bb6fbc16a890a14e497b31999bb91310 100644 (file)
@@ -1527,7 +1527,7 @@ static int isp1301_probe(struct i2c_adapter *bus, int address, int kind)
        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;
index 6a3d71494c4654235e763c3027fb62cb7306d8ee..ba4a0acf279733820e5ce22642aabb8bd719ef02 100644 (file)
@@ -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()) {
index 389d109079459a9fa3317b42e1b7fb6add1c6310..d5b6fb3d4d2173d03472616ca7cec5b8e90f439d 100644 (file)
@@ -162,7 +162,8 @@ static int __init omap_ts_probe(struct platform_device *pdev)
 
        /* 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");
index 5147ac64560b97f0c6787c093836aa9e40ffd1f4..c181e1dc5d54ce9e35a855474fcc0cf18543d295 100644 (file)
@@ -176,7 +176,7 @@ static int __init inn1510_ts_probe(struct omap_ts_t *ts)
                return -ENODEV;
 
        ts->irq = OMAP1510_INT_FPGA_TS;
-       ts->irq_type = SA_SAMPLE_RANDOM;
+       ts->irq_type = 0;
        
        return 0;
 }