Tag: bc72d26bdb23c908ad52ec2d321a137d27762f08

ASoC: am3517evm: fix error return code

Author: Julia Lawall <Julia.Lawall@lip6.fr> It was forgotten to initialize ret to the result of calling snd_soc_dai_set_sysclk, unlike at the other calls in the same function. 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