From: Dirk Behme <dirk.behme@googlemail.com>
To: linux-omap-open-source@linux.omap.com
Subject: [PATCH] Update sample random irq flag
Date: Sat, 18 Feb 2006 09:19:24 +0100 [thread overview]
Message-ID: <43F6D88C.6000804@gmail.com> (raw)
[-- 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 --]
next reply other threads:[~2006-02-18 8:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-18 8:19 Dirk Behme [this message]
2006-02-20 22:49 ` [PATCH] Update sample random irq flag Tony Lindgren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43F6D88C.6000804@gmail.com \
--to=dirk.behme@googlemail.com \
--cc=linux-omap-open-source@linux.omap.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.