Tag: db8b624d55e65ad5d8211a9fef66fa7f16bd13a0

ASoC: imx-sgtl5000: fix error return code

Author: Julia Lawall <Julia.Lawall@lip6.fr> Initialize ret on the second call to imx_audmux_v2_configure_port so that the subsequent test checks that result and not the previous one. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // ( if@p1 (\(ret < 0\|ret != 0\)) { ... return ret; } | ret@p1 …

Continue reading