]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: SOF: imx: Fix an IS_ERR() vs NULL bug in imx_parse_ioremap_memory()
authorDan Carpenter <dan.carpenter@linaro.org>
Mon, 17 Feb 2025 07:32:44 +0000 (10:32 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 18 Feb 2025 16:16:30 +0000 (16:16 +0000)
commitb20be2c77ce5341ded1a2d8aec119f6dca8ef1ad
tree2e6073b5d1f07c2f5c1b5c6bc23e2720a5c31aaf
parent3f02dedf1566858736f351a8d4a3ce91375e48f1
ASoC: SOF: imx: Fix an IS_ERR() vs NULL bug in imx_parse_ioremap_memory()

The devm_ioremap() function doesn't return error pointers, it returns
NULL on error.  Update the checking to match.

Fixes: 651e0ed391b1 ("ASoC: SOF: imx: introduce more common structures and functions")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://patch.msgid.link/68973636-eab8-4d82-8359-ae2c8f60f261@stanley.mountain
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/imx/imx-common.c