diff options
author | Daniel Mack <zonque@gmail.com> | 2014-04-02 13:58:28 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-04-21 14:07:28 -0500 |
commit | ca88fc2ef0d790a1da37804219102336f7622b97 (patch) | |
tree | 6fba0f43345cda2e2a4463ec6cc3f3a38c8e8125 /drivers/usb/musb/musb_core.h | |
parent | 1e42d20c88f2f56c0d81363d7b0f1d3762037f53 (diff) | |
download | talos-obmc-linux-ca88fc2ef0d790a1da37804219102336f7622b97.tar.gz talos-obmc-linux-ca88fc2ef0d790a1da37804219102336f7622b97.zip |
usb: musb: add a work_struct to recover from babble errors
Handle BABBLE interrupt error conditions from a work struct handler.
This indirection is necessary as we can't be certain that the phy
functions don't sleep.
Platform layer implementation may pass a babble error down to the core
in order to handle it.
Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/musb/musb_core.h')
-rw-r--r-- | drivers/usb/musb/musb_core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/musb/musb_core.h b/drivers/usb/musb/musb_core.h index 5514e4c82932..47e88747e3a7 100644 --- a/drivers/usb/musb/musb_core.h +++ b/drivers/usb/musb/musb_core.h @@ -297,6 +297,7 @@ struct musb { irqreturn_t (*isr)(int, void *); struct work_struct irq_work; + struct work_struct recover_work; struct delayed_work deassert_reset_work; struct delayed_work finish_resume_work; u16 hwvers; |