ASoC: wm0010: fix error path
Fix the error path so that we can free the allocated memory on the error path instead of releasing them individually on each error. Signed-off-by: NSudip Mukherjee <sudip@vectorindia.org> Acked-by: NCharles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: NMark Brown <broonie@kernel.org>
Showing
想要评论请 注册 或 登录