linux-uconsole/drivers/mtd/maps
Ricardo Ribalda Delgado 8fce141f48 mtd: physmap_of: Release resources on error
[ Upstream commit ef0de747f7 ]

During probe, if there was an error the memory region and the memory
map were not properly released.This can lead a system unusable if
deferred probe is in use.

Replace mem_request and map with devm_ioremap_resource

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-11-24 08:20:17 +01:00
..
amd76xrom.c
cfi_flagadm.c
ck804xrom.c
dc21285.c
esb2rom.c
gpio-addr-flash.c mtd: maps: gpio-addr-flash: Fix ioremapped size 2018-11-13 11:08:14 -08:00
ichxrom.c
impa7.c mtd: maps: use mtd_device_register() where applicable 2018-07-18 16:32:36 +02:00
intel_vr_nor.c mtd: maps: use mtd_device_register() where applicable 2018-07-18 16:32:36 +02:00
ixp4xx.c
Kconfig mtd: Make Kconfig formatting consistent 2018-07-19 23:12:06 +02:00
l440gx.c
lantiq-flash.c
latch-addr-flash.c mtd: maps: use mtd_device_register() where applicable 2018-07-18 16:32:36 +02:00
Makefile
map_funcs.c
netsc520.c
nettel.c
pci.c
pcmciamtd.c
physmap.c
physmap_of_core.c mtd: physmap_of: Release resources on error 2019-11-24 08:20:17 +01:00
physmap_of_gemini.c
physmap_of_gemini.h
physmap_of_versatile.c
physmap_of_versatile.h
pismo.c
plat-ram.c
pmcmsp-flash.c
pxa2xx-flash.c
rbtx4939-flash.c mtd: maps: use mtd_device_register() where applicable 2018-07-18 16:32:36 +02:00
sa1100-flash.c
sbc_gxx.c
sc520cdp.c
scb2_flash.c
scx200_docflash.c
solutionengine.c mtd/maps: fix solutionengine.c printk format warnings 2018-07-24 22:43:10 +02:00
sun_uflash.c
ts5500_flash.c
tsunami_flash.c
uclinux.c
vmu-flash.c