diff options
author | Johan Hovold <johan@kernel.org> | 2017-03-17 11:35:31 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-23 13:53:16 +0100 |
commit | 279daf4e053470f22c9421a4ab05f8e5a9e9eeec (patch) | |
tree | c516a41b345a0fc41b2757e89d4a7d82e8c3166d /include/drm/bridge | |
parent | 66a359390e7e34f9a4c489467234b107b3d76169 (diff) | |
download | linux-279daf4e053470f22c9421a4ab05f8e5a9e9eeec.tar.bz2 |
USB: core: add helpers to retrieve endpoints in reverse order
Several drivers have implemented their endpoint look-up loops in such a
way that they have picked the last endpoint descriptor of the specified
type should more than one such descriptor exist.
To avoid any regressions, add corresponding helpers to lookup endpoints
by searching the endpoint descriptors in reverse order.
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/drm/bridge')
0 files changed, 0 insertions, 0 deletions