mirror-linux/sound/soc/sof/imx
Daniel Baluta 0c28431f6f
ASoC: SOF: imx: Fix devm_ioremap_resource check
devm_ioremap_resource does not return NULL on error
but an error pointer so we need to use IS_ERR to check
the return code.

While at it also pass the error code to dev_err_probe
to improve logging.

Fixes: bc163baef5 ("ASoC: Use of_reserved_mem_region_to_resource() for "memory-region"")
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Link: https://patch.msgid.link/20250902102101.378809-1-daniel.baluta@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2025-09-02 12:51:32 +01:00
..
Kconfig ASoC: SOF: imx: add driver for the imx95 chip 2025-02-07 16:47:00 +00:00
Makefile ASoC: SOF: imx: add driver for the imx95 chip 2025-02-07 16:47:00 +00:00
imx-common.c ASoC: SOF: imx: Fix devm_ioremap_resource check 2025-09-02 12:51:32 +01:00
imx-common.h ASoC: SOF: imx: introduce more common structures and functions 2025-02-07 16:46:55 +00:00
imx8.c ASoC: SOF: imx8: add core shutdown operation for imx8/imx8x 2025-06-16 13:26:13 +01:00
imx9.c ASoC: SOF: of: Convert to EXPORT_DEV_PM_OPS() 2025-03-17 10:14:57 +00:00