usb: wusbcore: implement hwahc_op_get_frame_number
authorThomas Pugliese <thomas.pugliese@gmail.com>
Tue, 1 Oct 2013 19:04:33 +0000 (14:04 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Oct 2013 22:46:26 +0000 (15:46 -0700)
commit7e176dcb035eef8917e5fc2e653460b5410dbc34
treec3883880d23e756d1892b6f76606e8005c3d13a4
parent33186c441684de348636f94412d2fc256e641113
usb: wusbcore: implement hwahc_op_get_frame_number

This patch adds an implementation for hwahc_op_get_frame_number.  The
request is fulfulled by forwarding it to the lower hcd.  This was done
because the GET_TIME request on the HWA requires sending an URB to the
HWA and waiting for the results which cannot be done in atomic context.

Signed-off-by: Thomas Pugliese <thomas.pugliese@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/hwa-hc.c