usb: musb: print an error message when high bandwidth is unsupported
authorBin Liu <b-liu@ti.com>
Thu, 24 Aug 2017 16:38:34 +0000 (11:38 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 08:51:55 +0000 (10:51 +0200)
commit1bff25eafa451c6210d6dfdff63e39c55c96a3e3
tree8e5c87efc3c74587e72dfab7fb2551f24fdb6fe5
parenta2f656060b88241a22afb5927e433a126f1e151e
usb: musb: print an error message when high bandwidth is unsupported

There are multiple places in usb core or controller driver which returns
-EMSGSIZE when a class driver queueing urb failed, so the "Message too
long" log doesn't help much for understanding the error.

Let the musb driver to specifically print a error message when
musb_urb_enqueue() returns -EMSGSIZE.

Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/musb/musb_host.c