diff options
author | AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> | 2023-06-15 15:20:51 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2023-06-16 22:20:26 +0300 |
commit | b270ae61730e0ebccee39a21dd3311d6896a38ae (patch) | |
tree | 9c2111419c4e64ed82cd5045c1f76e4be65f1ac1 /drivers/clk/mediatek/clk-mt7981-topckgen.c | |
parent | 3dc265b369ee61db999d6d1588e888eb21dc421e (diff) | |
download | linux-b270ae61730e0ebccee39a21dd3311d6896a38ae.tar.xz |
clk: mediatek: clk-mt8173-apmixedsys: Fix iomap not released issue
In case of error after of_ioremap() the resource must be released:
call iounmap() where appropriate to fix that.
Fixes: 41138fbf876c ("clk: mediatek: mt8173: Migrate to platform driver and common probe")
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20230615122051.546985-4-angelogioacchino.delregno@collabora.com
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/mediatek/clk-mt7981-topckgen.c')
0 files changed, 0 insertions, 0 deletions