]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit240c4ca320ed83f788178b3c143641cfc58bd517
treecda26657a58cddd21761a6dd411a21c66c396896
parentd340f5699e517e415e9f01c473689ad55b7c81cc
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