commit | 0b2b23ca20ac9329d91bdba713028cf279423383 | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Mon Mar 22 16:53:17 2021 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Mar 23 13:27:13 2021 +0100 |
tree | d450154d1f9f91f546e877bbf5e8b332bae709f4 | |
parent | f8255ee192e92fdb885a9ff6bc90d74f5bfb7cd6 [diff] |
USB: cdc-acm: always claim data interface Make sure to always claim the data interface and bail out if binding fails. Note that the driver had a check to verify that the data interface was not already bound to a driver but would not detect other failures (e.g. if the interface was not authorised). Signed-off-by: Johan Hovold <johan@kernel.org> Link: https://lore.kernel.org/r/20210322155318.9837-8-johan@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>