diff options
author | Hayes Wang <hayeswang@realtek.com> | 2024-03-08 10:52:06 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-03-12 00:12:16 +0300 |
commit | 46590b545df636aea0f9f7f2100d9963c0af5824 (patch) | |
tree | c282ab6656d7f489ee38336cf1fc639ded051493 /drivers/ata | |
parent | 8f4cd89bf10607de08231d6d91a73dd63336808e (diff) | |
download | linux-46590b545df636aea0f9f7f2100d9963c0af5824.tar.xz |
r8152: fix unknown device for choose_configuration
For the unknown device, rtl8152_cfgselector_choose_configuration()
should return a negative value. Then, usb_choose_configuration() would
set a configuration for CDC ECM or NCM mode. Otherwise, there is no
usb interface driver for the device.
Fixes: aa4f2b3e418e ("r8152: Choose our USB config with choose_configuration() rather than probe()")
Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Link: https://lore.kernel.org/r/20240308075206.33553-436-nic_swsd@realtek.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/ata')
0 files changed, 0 insertions, 0 deletions