diff options
author | Johan Hovold <johan@kernel.org> | 2017-03-16 17:13:41 +0100 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2017-03-28 11:00:10 +0200 |
commit | 49f4ff2d74f5b6a865f6433c8995855092dcf97a (patch) | |
tree | eb2255a96893ec846bece20172e9a8e844b8d6fe /drivers/usb/storage | |
parent | 204cc473bc896134870fda21cd279774b3ead024 (diff) | |
download | op-kernel-dev-49f4ff2d74f5b6a865f6433c8995855092dcf97a.zip op-kernel-dev-49f4ff2d74f5b6a865f6433c8995855092dcf97a.tar.gz |
USB: serial: io_ti: use calc_num_endpoints to verify endpoints
Use the calc_num_ports rather than attach callback to verify that the
required endpoints are present when in download mode.
This avoids allocating port resources for interfaces that won't be bound.
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/usb/storage')
0 files changed, 0 insertions, 0 deletions