commit | 83b12c2e1d942459f420490d4219fc1ad38c3620 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Mon Nov 26 11:13:07 2018 +0300 |
committer | Mark Brown <broonie@kernel.org> | Mon Nov 26 12:22:56 2018 +0000 |
tree | 858eef248544cb2d5a7ddd35b5ac241b89bdac2e | |
parent | 64ef0817b9679b525f86773e929777be96f5c728 [diff] |
ASoC: amd: Fix a NULL vs IS_ERR() check in probe The platform_device_register_full() function doesn't return NULL, it returns error pointers. Fixes: 7894a7e7ea3d ("ASoC: amd: create ACP3x PCM platform device") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Mark Brown <broonie@kernel.org>