30 Jul
2015
30 Jul
'15
11:23 p.m.
On Sun, 19 Jul 2015, Lars-Peter Clausen wrote:
dev_get_drvdata() will not return the snd_soc_runtime to which this CODEC is attached, so the current code will result in undefined behavior. To fix this just use regmap_update_bits(cs4349->regmap, ...) directly instead of snd_soc_update_bits(rtd->codec, ...).
Signed-off-by: Lars-Peter Clausen lars@metafoo.de
sound/soc/codecs/cs4349.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
For both patches Thank you! Acked-by: Tim Howe tim.howe@cirrus.com