diff options
| author | Wei Yongjun <[email protected]> | 2019-08-26 12:00:03 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2019-08-27 19:21:54 +0100 |
| commit | 393151c211006cc5ac6af26ecd9982dd916a8104 (patch) | |
| tree | 4cf1a2b8ccbb542ee1d6f75d736fb710fd10afa0 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf | |
| parent | 3cdc3c9fd9fa92bcef777512d9f4eef854f9a4ed (diff) | |
ASoC: SOF: imx8: Fix return value check in imx8_probe()
In case of error, the function devm_ioremap_wc() returns NULL pointer
not ERR_PTR(). The IS_ERR() test in the return value check should be
replaced with NULL test.
Fixes: 202acc565a1f ("ASoC: SOF: imx: Add i.MX8 HW support")
Signed-off-by: Wei Yongjun <[email protected]>
Reviewed-by: Daniel Baluta <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions