]> git.baikalelectronics.ru Git - kernel.git/commit
usb: wusbcore: disable transfer notifications for Alereon HWAs
authorThomas Pugliese <thomas.pugliese@gmail.com>
Thu, 6 Mar 2014 18:53:37 +0000 (12:53 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Mar 2014 20:52:04 +0000 (12:52 -0800)
commite7897a8133a08b1b6c54400f2f83b35aee5d3fa6
tree9fc5d8fb13a0c3e7ce84af669e6f7114f76d4d4d
parent65742a10f9b8d97ff10ca67c34953c68c77c3024
usb: wusbcore: disable transfer notifications for Alereon HWAs

The HWA driver does not do anything with transfer notifications after
receiving the first one and the Alereon HWA allows them to be disabled
as a performance optimization.  This patch sends a vendor specific
command to the Alereon HWA on startup to disable transfer notifications.
If the command is successful, the DTI system is started immediately
since that would normally be started upon the first reception of a
transfer notification which will no longer be sent.

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