ASoC: cs35l35: Add missing return in probe
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Wed, 8 Mar 2017 16:42:47 +0000 (16:42 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 13 Mar 2017 16:09:10 +0000 (16:09 +0000)
commit1bb06ada038548b4e2449159e80badf106bb779f
treecda26657a58cddd21761a6dd411a21c66c396896
parented864461bfbdacefc242d4c0675989915a1431b0
ASoC: cs35l35: Add missing return in probe

A return statement is missing just before the error paths at the end of
probe. This causes us to fall straight into the error path and disable
the supplies and re-enable reset, as these are only controlled during
probe this causes the part to no longer function.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Acked-by: Brian Austin <brian.austin@cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs35l35.c