summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorYuho Choi <dbgh9129@gmail.com>2026-05-25 07:01:58 +0300
committerFrank Li <Frank.Li@nxp.com>2026-06-01 22:58:13 +0300
commitccb4b54b8ecf1ebafef96d538cd6c5c8455bb390 (patch)
tree7bbabbbec2e73852c859a6d3dfc1bc4f6819ef68 /include/linux
parent36d46348eb5fc4bc505cd2290ddd70c25fbe6bb3 (diff)
downloadlinux-ccb4b54b8ecf1ebafef96d538cd6c5c8455bb390.tar.xz
ARM: imx31: Fix IIM mapping leak in revision check
mx31_read_cpu_rev() maps the IIM registers with of_iomap() to read the silicon revision, but returns without unmapping the MMIO mapping. Keep the normalized revision value in a local variable and route the return path through iounmap() after the revision register has been read. Fixes: 3172225d45bd ("ARM: imx31: Retrieve the IIM base address from devicetree") Signed-off-by: Yuho Choi <dbgh9129@gmail.com> Signed-off-by: Frank Li <Frank.Li@nxp.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions