patch usb-s3c2410-gadget-allow-sharing-of-vbus-irq.patch added to gregkh-2.6 tree

<[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
This is a note to let you know that I've just added the patch titled

     Subject: USB: s3c2410 gadget: allow sharing of vbus irq

to my gregkh-2.6 tree.  Its filename is

     usb-s3c2410-gadget-allow-sharing-of-vbus-irq.patch

This tree can be found at 
    http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/


>From [email protected]  Mon Nov 26 23:06:43 2007
From: Ben Dooks <[email protected]>
Date: Mon, 19 Nov 2007 22:28:14 +0000
Subject: USB: s3c2410 gadget: allow sharing of vbus irq
To: Linux USB Devel <[email protected]>
Cc: [email protected], Greg KH <[email protected]>, Ben Dooks <[email protected]>
Message-ID: <[email protected]>


If another driver wants to claim the vbus pin, say
to notify the user of an connect/disconnect then allow
the IRQ to be shared by specifiying IRQ_SHARED in the
flags.

Signed-off-by: Ben Dooks <[email protected]>
Acked-by: David Brownell <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

---
 drivers/usb/gadget/s3c2410_udc.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- a/drivers/usb/gadget/s3c2410_udc.c
+++ b/drivers/usb/gadget/s3c2410_udc.c
@@ -1872,9 +1872,9 @@ static int s3c2410_udc_probe(struct plat
 	if (udc_info && udc_info->vbus_pin > 0) {
 		irq = s3c2410_gpio_getirq(udc_info->vbus_pin);
 		retval = request_irq(irq, s3c2410_udc_vbus_irq,
-				IRQF_DISABLED | IRQF_TRIGGER_RISING
-				| IRQF_TRIGGER_FALLING,
-				gadget_name, udc);
+				     IRQF_DISABLED | IRQF_TRIGGER_RISING
+				     | IRQF_TRIGGER_FALLING | IRQF_SHARED,
+				     gadget_name, udc);
 
 		if (retval != 0) {
 			dev_err(dev, "can't get vbus irq %i, err %d\n",


Patches currently in gregkh-2.6 which might be from [email protected] are

usb/usb-s3c2410-gadget-allow-sharing-of-vbus-irq.patch
usb/usb-s3c2410-gadget-ensure-vbus-pin-in-input-mode-during-read.patch
usb/usb-s3c2410-gadget-header-move-fixups.patch

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
[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.