[patch 2.6.22-rc2-mm1]m66592-udc: fix use old interrupt flags

Yoshihiro Shimoda <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
This patch fixes the problem that used SA_* flags.

Signed-off-by: Yoshihiro Shimoda <[email protected]>
---
 drivers/usb/gadget/m66592-udc.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/drivers/usb/gadget/m66592-udc.c.orig	2007-05-30 21:34:10.000000000 +0900
+++ a/drivers/usb/gadget/m66592-udc.c	2007-05-30 21:34:44.000000000 +0900
@@ -44,7 +44,7 @@ MODULE_DESCRIPTION("M66592 USB gadget dr
 MODULE_LICENSE("GPL");
 MODULE_AUTHOR("Yoshihiro Shimoda");

-#define DRIVER_VERSION	"9 May 2007"
+#define DRIVER_VERSION	"29 May 2007"

 /* module parameters */
 static unsigned short clock = M66592_XTAL24;
@@ -1567,7 +1567,7 @@ static int __init m66592_probe(struct pl

 	m66592->bi_bufnum = M66592_BASE_BUFNUM;

-	ret = request_irq(irq, m66592_irq, SA_INTERRUPT | SA_SHIRQ,
+	ret = request_irq(irq, m66592_irq, IRQF_DISABLED | IRQF_SHARED,
 			  udc_name, m66592);
 	if (ret < 0) {
 		printk(KERN_ERR "request_irq error (%d)\n", ret);


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.