]> 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)
commite03c939df3da07741e6a8efc49b15f11081add2b
tree595c684f56490bf89237638dcf6678500b9b3f8a
parent07f19ac1d847d1670b9328e21e42b988e89227e6
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