Dan Carpenter a325c7bc3a
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>
2019-08-27 19:22:17 +01:00
..
2019-06-14 05:37:06 -10:00
2019-08-22 18:28:32 +01:00
2019-08-22 18:28:32 +01:00
2019-06-06 22:10:38 +01:00
2019-08-16 13:13:59 +01:00
2019-04-28 02:49:47 +09:00