mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
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>
This commit is contained in:
parent
9eb0797722
commit
0f4ff5f1f9
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue