diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-08-26 15:18:55 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-08-27 20:22:17 +0200 |
commit | a325c7bc3a92f1d5ba8cff10d7ab93a989cdeb80 (patch) | |
tree | 19edcdd9e2718f0637acf2c9cbd06af39b835414 /crypto/xxhash_generic.c | |
parent | ASoC: sun4i: Revert A83t description (diff) | |
download | linux-a325c7bc3a92f1d5ba8cff10d7ab93a989cdeb80.tar.xz linux-a325c7bc3a92f1d5ba8cff10d7ab93a989cdeb80.zip |
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 <dan.carpenter@oracle.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Link: https://lore.kernel.org/r/20190826131855.GA6840@mwanda
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'crypto/xxhash_generic.c')
0 files changed, 0 insertions, 0 deletions