]> git.baikalelectronics.ru Git - kernel.git/commit
usb: phy: generic: fix the vbus interrupt request
authorRobert Jarzmik <robert.jarzmik@free.fr>
Fri, 30 Jan 2015 16:22:46 +0000 (17:22 +0100)
committerFelipe Balbi <balbi@ti.com>
Fri, 30 Jan 2015 16:35:17 +0000 (10:35 -0600)
commit13ee73e91decd2b0107287f7cb29ccad0511495c
tree3405ff6498000d7b6006104db43509ebe0f49e36
parentb7095e525b4bcb2a9721f49a7183b0fdafb9fbff
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>
drivers/usb/phy/phy-generic.c