]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: sta32x: set ->component pointer in private struct
authorDaniel Mack <daniel@zonque.org>
Thu, 11 Oct 2018 18:32:05 +0000 (20:32 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 12 Oct 2018 16:48:40 +0000 (18:48 +0200)
commit41a3087fad469dcdb39b26cd8c4de88006e716a2
treeb656bb606d9401dc91a52cfaef62230d6cb53068
parent85d98ceebcd57441597a8665fe07398dd0b807df
ASoC: sta32x: set ->component pointer in private struct

The ESD watchdog code in sta32x_watchdog() dereferences the pointer
which is never assigned.

This is a regression from 552ef20e661948 ("ASoC: sta32x: Convert to direct
regmap API usage.") which went unnoticed since nobody seems to use that ESD
workaround.

Fixes: 552ef20e661948 ("ASoC: sta32x: Convert to direct regmap API usage.")
Signed-off-by: Daniel Mack <daniel@zonque.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
sound/soc/codecs/sta32x.c