diff options
author | Mariusz Ceier <mceier+kernel@gmail.com> | 2019-03-11 23:53:57 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-03-13 13:23:59 +0300 |
commit | d344e07940f3a3a93dec38f36593cca1591a7a5e (patch) | |
tree | ad54bef7105d84ecbef28cf74db7b620987d4942 /sound/soc/qcom/common.h | |
parent | a634090a0f242caa8ebc91967b118995a80eb13b (diff) | |
download | linux-d344e07940f3a3a93dec38f36593cca1591a7a5e.tar.xz |
ALSA: hda: Avoid NULL pointer dereference at snd_hdac_stream_start()
For ca0132 codec, azx_dev->stream is NULL during firmware loading.
Calling snd_hdac_get_stream_stripe_ctl unconditionally causes NULL
pointer dereference in that function.
Fixes: 9b6f7e7a296e ("ALSA: hda: program stripe bits for controller")
Signed-off-by: Mariusz Ceier <mceier+kernel@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc/qcom/common.h')
0 files changed, 0 insertions, 0 deletions