]> 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)
commitb42898f14126ff30b5f1f89674cb3ac426197803
treecda26657a58cddd21761a6dd411a21c66c396896
parent88fa46db3795325d1e59913ccbacf8bbac11ad0b
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