]> git.baikalelectronics.ru Git - kernel.git/commit
usb: isp1760: rework cache initialization error handling
authorRui Miguel Silva <rui.silva@linaro.org>
Tue, 27 Jul 2021 10:05:16 +0000 (11:05 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Jul 2021 14:25:31 +0000 (16:25 +0200)
commit654fb04d7b62f2713729b3bf3cd81eaf869ea23a
treefb46c550bcea16b87b28466e21362e834e0c0e30
parent56a081a02f543338b01761e46d2d9668ca0a6a7c
usb: isp1760: rework cache initialization error handling

If we fail to create qtd cache we were not destroying the
urb_listitem, rework the error handling logic to cope with that.

Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Link: https://lore.kernel.org/r/20210727100516.4190681-4-rui.silva@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/isp1760/isp1760-hcd.c