summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorKevin Strasser <kevin.strasser@intel.com>2014-05-19 10:14:23 +0200
committerMark Brown <broonie@linaro.org>2014-05-19 18:30:56 +0200
commit2fa190ce33bdf2f58bb0a65d94e08980d92c76ed (patch)
treeb7abe5d7bf55f22b0cc1f6226c2c21c0e8dcf04e /arch
parentASoC: Intel: remove codec memeber from codec structs (diff)
downloadlinux-2fa190ce33bdf2f58bb0a65d94e08980d92c76ed.tar.xz
linux-2fa190ce33bdf2f58bb0a65d94e08980d92c76ed.zip
ASoC: Intel: Fix pcm stream context restore crash
In some cases the pcm stream is closed while context has been scheduled to be restored, causing a null pointer deref panic. Cancel work to ensure stream does not get freed while work is still active/pending. Also, restoring the pcm context can be safely skipped after the stream has been stopped. Check if pcm stream is still running before restoring stream context to help pending work finish more quickly in stream close path. Signed-off-by: Kevin Strasser <kevin.strasser@intel.com> Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions