Searched hist:"8 e71321d19c4ed02d9eed15955b8d485bab016fc" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/sound/soc/codecs/ |
H A D | cs35l35.c | diff 8e71321d19c4ed02d9eed15955b8d485bab016fc Mon Mar 27 10:54:27 CDT 2017 Charles Keepax <ckeepax@opensource.wolfsonmicro.com> 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>
|