diff options
author | Hayes Wang <hayeswang@realtek.com> | 2024-03-08 15:52:06 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-03-11 14:12:16 -0700 |
commit | 46590b545df636aea0f9f7f2100d9963c0af5824 (patch) | |
tree | c282ab6656d7f489ee38336cf1fc639ded051493 /usr | |
parent | 8f4cd89bf10607de08231d6d91a73dd63336808e (diff) |
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 'usr')
0 files changed, 0 insertions, 0 deletions