commit | fb25621da5702c104ce0a48de5b174ced09e5b4e | [log] [tgz] |
---|---|---|
author | Miaoqian Lin <linmq006@gmail.com> | Thu Jan 27 13:13:34 2022 +0000 |
committer | Mark Brown <broonie@kernel.org> | Fri Jan 28 13:05:18 2022 +0000 |
tree | 4a94e98756422866881f7500293315d23a6dbb17 | |
parent | 8f2e5c65ec7534cce6d315fccf2c3aef023f68f0 [diff] |
ASoC: fsl: Add missing error handling in pcm030_fabric_probe Add the missing platform_device_put() and platform_device_del() before return from pcm030_fabric_probe in the error handling case. Fixes: c912fa913446 ("ASoC: fsl: register the wm9712-codec") Signed-off-by: Miaoqian Lin <linmq006@gmail.com> Link: https://lore.kernel.org/r/20220127131336.30214-1-linmq006@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>