]> git.baikalelectronics.ru Git - kernel.git/commit
usb: core: return -ENOTSUPP for all targeted hosts
authorPeter Chen <peter.chen@freescale.com>
Mon, 29 Sep 2014 02:09:31 +0000 (10:09 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 Sep 2014 15:50:39 +0000 (11:50 -0400)
commitee89947ee9aba8c11ce49c1e24bb8c88585fd975
tree595c684f56490bf89237638dcf6678500b9b3f8a
parentda0a24a981506e4f21b419baf2d7f802f7a3b39e
usb: core: return -ENOTSUPP for all targeted hosts

The current code only returns -ENOTSUPP for OTG host, but in fact,
embedded host also needs to returns -ENOTSUPP if the peripheral
is not at TPL.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/hub.c