android_kernel_samsung_a7y1.../drivers/mtd/maps
Ricardo Ribalda Delgado 5263e2e3a8 mtd: physmap_of: Release resources on error
[ Upstream commit ef0de747f7ad179c7698a5b0e28db05f18ecbf57 ]

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>
2020-04-07 12:32:41 +02:00
..
amd76xrom.c
bfin-async-flash.c
cfi_flagadm.c
ck804xrom.c
dc21285.c
esb2rom.c
gpio-addr-flash.c
ichxrom.c
impa7.c
intel_vr_nor.c
ixp4xx.c
Kconfig
l440gx.c
lantiq-flash.c
latch-addr-flash.c
Makefile
map_funcs.c
netsc520.c
nettel.c
pci.c
pcmciamtd.c
physmap_of.c
physmap.c
pismo.c
plat-ram.c
pmcmsp-flash.c
pxa2xx-flash.c
rbtx4939-flash.c
sa1100-flash.c
sbc_gxx.c
sc520cdp.c
scb2_flash.c
scx200_docflash.c
solutionengine.c
sun_uflash.c
ts5500_flash.c
tsunami_flash.c
uclinux.c
vmu-flash.c