Files
linux/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
..
2017-11-06 23:26:01 +01:00
2017-11-06 23:26:01 +01:00
2017-11-06 23:26:01 +01:00
2017-08-15 14:00:46 +02:00
2017-11-06 23:26:01 +01:00
2017-11-06 23:26:01 +01:00
2017-11-06 23:26:01 +01:00