diff options
| author | Dan Carpenter <[email protected]> | 2019-08-26 16:18:55 +0300 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2019-08-27 19:22:17 +0100 |
| commit | a325c7bc3a92f1d5ba8cff10d7ab93a989cdeb80 (patch) | |
| tree | 19edcdd9e2718f0637acf2c9cbd06af39b835414 /tools/perf/scripts/python | |
| parent | 9ec05d4723bf83dd272cef5ccf508e5fe4d30fa3 (diff) | |
ASoC: SOF: imx8: Fix an is IS_ERR() vs NULL check
The device_link_add() function only returns NULL on error, it doesn't
return error pointers.
Fixes: 202acc565a1f ("ASoC: SOF: imx: Add i.MX8 HW support")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Daniel Baluta <[email protected]>
Link: https://lore.kernel.org/r/20190826131855.GA6840@mwanda
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions