commit | 6c925b333368cda4e1b0513b07f72316c0e7edd7 | [log] [tgz] |
---|---|---|
author | Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> | Thu Oct 04 15:01:04 2018 +0200 |
committer | Boris Brezillon <boris.brezillon@bootlin.com> | Fri Oct 05 10:20:32 2018 +0200 |
tree | 7b9a6591d04631ae9fb5b67b7ee3f8542c033158 | |
parent | 34cb1e31890c97d0ee89755d5f2833737fa30a03 [diff] |
mtd: maps: gpio-addr-flash: Fix ioremapped size We should only iomap the area of the chip that is memory mapped. Otherwise we could be mapping devices beyond the memory space or that belong to other devices. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Fixes: ebd71e3a4861 ("mtd: maps: gpio-addr-flash: fix warnings and make more portable") Cc: <stable@vger.kernel.org> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>