ASoC: Atmel: ClassD: unregister codec when error occurs
Add code to unregister codec in probe function, when the error occurs after the codec is registered. Signed-off-by: Songjun Wu <songjun.wu@atmel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Showing
Please register or sign in to comment