diff options
author | Richard Zhao <richard.zhao@freescale.com> | 2012-09-12 14:58:11 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-12 11:20:38 -0700 |
commit | b183c19f98f8afee799ee41e062810d6b1c7e123 (patch) | |
tree | d1cd7920d4e434930d75ad2577c10ed249036f7e /include/linux/usb/serial.h | |
parent | 388ed487234429652c1cdb797ad45cb0967b2343 (diff) | |
download | lwn-b183c19f98f8afee799ee41e062810d6b1c7e123.tar.gz lwn-b183c19f98f8afee799ee41e062810d6b1c7e123.zip |
USB: chipidea: re-order irq handling to avoid unhandled irqs
- let role driver handle irq before ID change check; this gives the
role driver a chance to handle disconnect;
- disable irq during switch role; no role driver to handle irq in
the period.
Tested-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Tested-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb/serial.h')
0 files changed, 0 insertions, 0 deletions