ASoC: sti: Fix error handling if of_clk_get() fails
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 28 Apr 2017 13:22:10 +0000 (16:22 +0300)
committerMark Brown <broonie@kernel.org>
Sun, 30 Apr 2017 12:30:52 +0000 (21:30 +0900)
commit65ed0a8d1f24abd79be149253025de8949321900
tree182b3eca2d541ed5ad57de3b799ea24298bf6cc5
parentd05d862ead8eca5e7d4ccf82d39d9189579ee5b1
ASoC: sti: Fix error handling if of_clk_get() fails

We intended to return here.  The current code has a static checker
warning because we set "ret" but don't use it.

Fixes: 76c2145ded6b ("ASoC: sti: Add CPU DAI driver for playback")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Arnaud POULIQUEN <arnaud.pouliquen@st.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sti/uniperif_player.c