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: NSongjun Wu <songjun.wu@atmel.com> Signed-off-by: NMark Brown <broonie@kernel.org>
Showing
想要评论请 注册 或 登录