commit | 11fb37998759c48e4e4c200c974593cbeab25d3e | [log] [tgz] |
---|---|---|
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Fri Jan 12 17:50:02 2018 +1100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Jan 22 15:34:37 2018 +0100 |
tree | dd9ede5d130a813b6cec7798d06a3897c97e09c9 | |
parent | 0cb5818a3b250de64e02592f4584f7c21d9566b8 [diff] |
usb/gadget: Fix "high bandwidth" check in usb_gadget_ep_match_desc() 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> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>