diff options
author | Robert Jarzmik <robert.jarzmik@free.fr> | 2015-01-30 17:22:46 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-01-30 10:35:17 -0600 |
commit | 0f4ff5f1f95796ff5e32766136f3d3dfce1ec2d7 (patch) | |
tree | 3405ff6498000d7b6006104db43509ebe0f49e36 /drivers/usb/phy | |
parent | 9eb0797722895f4309b46d122e24d87ad17f473b (diff) | |
download | op-kernel-dev-0f4ff5f1f95796ff5e32766136f3d3dfce1ec2d7.zip op-kernel-dev-0f4ff5f1f95796ff5e32766136f3d3dfce1ec2d7.tar.gz |
usb: phy: generic: fix the vbus interrupt request
Declare the interrupt as "one shot" so that it is masked until the end
of the threaded handler. This prevents the irq core from spitting out an
error :
"Threaded irq requested with handler=NULL and !ONESHOT for irq 63"
This was introduced by commit "usb: phy: generic: add vbus support".
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/phy')
-rw-r--r-- | drivers/usb/phy/phy-generic.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/phy/phy-generic.c b/drivers/usb/phy/phy-generic.c index bdb4cb3..48af068 100644 --- a/drivers/usb/phy/phy-generic.c +++ b/drivers/usb/phy/phy-generic.c @@ -41,7 +41,8 @@ #include "phy-generic.h" #define VBUS_IRQ_FLAGS \ - (IRQF_SHARED | IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING) + (IRQF_SHARED | IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING | \ + IRQF_ONESHOT) struct platform_device *usb_phy_generic_register(void) { |