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)
commit86e2864d7e9d429b94624a28ba3f05fc2db89051
tree9fc5d8fb13a0c3e7ce84af669e6f7114f76d4d4d
parent5090ecea133325f762704f00963bca1b024ee691
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