linux-stable/drivers/usb/gadget
Christophe JAILLET 42067ccd9e usb: gadget: s3c: Fix incorrect resources releasing
Since commit 188db4435a ("usb: gadget: s3c: use platform resources"),
'request_mem_region()' and 'ioremap()' are no more used, so they don't need
to be undone in the error handling path of the probe and in the remove
function.

Remove these calls and the unneeded 'rsrc_start' and 'rsrc_len' global
variables.

Fixes: 188db4435a ("usb: gadget: s3c: use platform resources")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/b317638464f188159bd8eea44427dd359e480625.1616830026.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-03-28 14:07:18 +02:00
..
function USB: gadget: f_fs: fix memdup_user.cocci warnings 2021-03-23 15:24:26 +01:00
legacy usb: gadget: legacy: fix error return code of msg_bind() 2021-03-23 14:13:29 +01:00
udc usb: gadget: s3c: Fix incorrect resources releasing 2021-03-28 14:07:18 +02:00
composite.c usb: gadget: composite: Report various SSP sublink speeds 2021-01-18 18:41:11 +01:00
config.c
configfs.c usb: gadget: configfs: Fix KASAN use-after-free 2021-03-17 21:29:46 +01:00
configfs.h
epautoconf.c
functions.c
Kconfig usb: gadget: select CONFIG_CRC32 2021-01-04 16:54:29 +01:00
Makefile
u_f.c
u_f.h USB: gadget: u_f: Unbreak offset calculation in VLAs 2020-08-27 09:25:06 +02:00
u_os_desc.h
usbstring.c usb: gadget: fix langid kernel-doc warning in usbstring.c 2020-07-09 10:13:07 +03:00