Commit 084be453 authored by Dirk Behme's avatar Dirk Behme Committed by Tony Lindgren

ARM: OMAP: Update usage of SA_SAMPLE_RANDOM flag

As proposed by Juha Yrjl.

Signed-off-by: Dirk Behme <dirk.behme_at_gmail.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 040ced1b
......@@ -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;
......
......@@ -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()) {
......
......@@ -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");
......
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment