Files
linux/drivers/mtd/maps
Ricardo Ribalda Delgado 3bf775062b 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>
2023-05-15 15:11:56 +09:00
..
2016-04-26 00:18:29 -06:00
2016-04-26 00:18:29 -06:00
2016-04-26 00:18:29 -06:00
2016-08-15 20:53:07 +02:00
2014-05-28 00:05:24 -07:00
2012-11-22 12:07:03 +02:00