Charles Keepax 8e71321d19 ASoC: cs35l35: Clear reset_gpio on the error path in probe
The error path in probe attempts to put the device back into reset.
Should we fail to get the reset_gpio (such as a probe defer) we will
leave the error value in there, which the gpiod_set_value_cansleep on
the error path will attempt to deference.

Fix this issue by clearing reset_gpio before we head into the error
path.

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>
2017-03-27 17:26:53 +01:00
..
2016-10-07 20:19:31 -07:00
2017-01-24 16:24:18 +00:00
2017-03-01 09:59:21 -08:00
2017-02-27 18:43:47 -08:00
2016-12-25 17:21:22 +01:00
2016-01-20 09:59:27 +01:00
2015-08-31 16:25:22 +02:00