]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: host: add Kconfig option for EHSET
authorJack Pham <jackp@codeaurora.org>
Tue, 13 Aug 2013 20:40:13 +0000 (13:40 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Aug 2013 19:18:26 +0000 (12:18 -0700)
commit726a85caa30201eaadb993397a3e8ec23949c608
tree94b1332a3df2540c251fdcf04d3ebabc227a854b
parent034d1527adebd302115c87ef343497a889638275
usb: host: add Kconfig option for EHSET

commit 9841f37a1c ("usb: ehci: Add support for SINGLE_STEP_SET_FEATURE
test of EHSET") added additional code to the EHCI hub driver but it is
anticipated to only have a limited audience (e.g. embedded silicon
vendors and integrators). Avoid subjecting all EHCI (and in the future
maybe xHCI/OHCI, etc.) HCD users to code bloat by conditionally
compiling the EHSET-specific additions with a new Kconfig option,
CONFIG_USB_HCD_TEST_MODE.

Signed-off-by: Jack Pham <jackp@codeaurora.org>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/Kconfig
drivers/usb/host/ehci-hub.c
drivers/usb/host/ehci-q.c