summaryrefslogtreecommitdiff
path: root/drivers/usb/storage/unusual_freecom.h
diff options
context:
space:
mode:
authorLin Ma <linma@zju.edu.cn>2022-04-07 05:21:10 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-04-21 20:02:42 +0300
commitba6df3ea68196d54a1e8299cea1bf4565fc755c5 (patch)
treebd0dc1406a10bc0992d212a856265c45b94adc95 /drivers/usb/storage/unusual_freecom.h
parent1abf67983a4fd74133b3d2b43722704c744621a6 (diff)
downloadlinux-ba6df3ea68196d54a1e8299cea1bf4565fc755c5.tar.xz
usb-storage: isd200: fix initFunction error return
The initFunction is called when probing a new device, its call relation is like: USB core: probe() -> usb_stor_probe2() -> usb_stor_acquire_resources() -> isd200_init_info() That is, the error return of the initFunction should tell USB core what happened instead of using custom error code like ISD200_ERROR. Signed-off-by: Lin Ma <linma@zju.edu.cn> Link: https://lore.kernel.org/r/20220407022110.3757-1-linma@zju.edu.cn Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/storage/unusual_freecom.h')
0 files changed, 0 insertions, 0 deletions