[alsa-devel] [PATCH 1/2] ASoC: cs4349: Fix suspend/resume

Tim Howe tim.howe at cirrus.com
Thu Jul 30 23:23:26 CEST 2015



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 at 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 at cirrus.com>



More information about the Alsa-devel mailing list