diff options
| author | Jihed Chaibi <jihed.chaibi.dev@gmail.com> | 2026-03-24 23:45:30 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-03-26 13:42:07 +0000 |
| commit | 3b6f4cfc7152feb5641678ea254988fdce70a91b (patch) | |
| tree | fbadb92b8cb9bdf2dee4e292adb05ba7c4afd0b9 /tools/perf/scripts/python | |
| parent | e113ed3e73b91194a39bf6a9207a3598827f0033 (diff) | |
ASoC: fsl: mpc5200_dma: Convert to devm_ioremap()
Replace ioremap() with devm_ioremap() so the mapping is released
automatically when the device is unbound. Remove the corresponding
iounmap() calls from the error path in mpc5200_audio_dma_create() and
from mpc5200_audio_dma_destroy().
Since devm_ioremap() failure already returns directly and no other
cleanup is needed at that point, simplify the kzalloc error path to
return -ENOMEM directly instead of jumping to the now-removed out_unmap
label.
Signed-off-by: Jihed Chaibi <jihed.chaibi.dev@gmail.com>
Link: https://patch.msgid.link/20260324224530.102164-1-jihed.chaibi.dev@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
