commit | 4709749cddb6384e3957f51a9aa9b564cdbca935 | [log] [tgz] |
---|---|---|
author | Karsten Tausche <karsten@fairphone.com> | Thu May 14 14:40:17 2020 +0200 |
committer | Luca Weiss <luca.weiss@fairphone.com> | Mon Aug 23 15:20:48 2021 +0200 |
tree | cbe606e8cd0ea5baa4751a27a16883beca8dd07c | |
parent | 7f783d3cfae282755f2e087a9d1d04812ef3e911 [diff] |
ASoC: pcm: Workaround oops caused by incomplete substream In soc_pcm_open, substream->private_data can end up being NULL, which leads to a kernel panic. Probably, this should be caught further up in the call stack already, but this patch avoids at least the kernel panic. Issue: SEC-2436 Change-Id: Ifd77abd2e8215a85af9efd8cfea2fd2d1c89dee0