]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MLK-9897-1 usb: chipidea: otg: use shared queue to handle hnp polling
authorLi Jun <jun.li@freescale.com>
Mon, 24 Nov 2014 02:00:18 +0000 (10:00 +0800)
committerLi Jun <jun.li@freescale.com>
Mon, 26 Jan 2015 06:26:58 +0000 (14:26 +0800)
commit5ff6a204ccdcec55efb146b78842322294e565e5
treeec5ef2742a372fc2478d0578713dcb801a247d55
parentde842e73014ac693aa04bce262660b31ed1a3cfb
MLK-9897-1 usb: chipidea: otg: use shared queue to handle hnp polling

This patch moves out hnp polling from usb otg work queue to shared queue, as
hnp polling call to usb_control_msg() which sends a control message and waits
for it complete or timeout, so it's not proper to handle it in usb otg work
queue which handles work with usb irq disabled.

Acked-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Li Jun <jun.li@freescale.com>
(cherry picked from commit a147c8808ad198a7b9694b7dd517166505b76c50)
drivers/usb/chipidea/ci.h
drivers/usb/chipidea/otg_fsm.c