usb/gadget: Fix "high bandwidth" check in usb_gadget_ep_match_desc()

commit 11fb379987 upstream.

The current code tries to test for bits that are masked out by
usb_endpoint_maxp(). Instead, use the proper accessor to access
the new high bandwidth bits.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Benjamin Herrenschmidt 2018-01-12 17:50:02 +11:00 • committed by Greg Kroah-Hartman
commit 2ba5966edd