diff options
author | Jarkko Nikula <jarkko.nikula@linux.intel.com> | 2014-04-24 10:34:36 +0300 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-04-24 11:32:23 +0100 |
commit | de30a2ccb20d9baf5dac8a9c8ba8f0d9d5f4361e (patch) | |
tree | 1cc24f2b3e6bbd1727f7cc758fa126c3cab9cc39 /sound/soc/codecs/ak4671.h | |
parent | d132cb0a162fa55c82e06b771fcaa871d30c9398 (diff) | |
download | linux-de30a2ccb20d9baf5dac8a9c8ba8f0d9d5f4361e.tar.bz2 |
ASoC: Intel: Cancel hsw_notification_work before freeing the stream
I suppose there is a possibility that hsw_notification_work() may run after
sst_hsw_stream_free() which can lead to a kernel crash since struct
sst_hsw_stream is freed at that point and
stream = container_of(work, struct sst_hsw_stream, notify_work) is not valid
when hsw_notification_work() is run.
Reported-by: Derek Basehore <dbasehore@chromium.org>
Reported-by: Wenkai Du <wenkai.du@intel.com>
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/ak4671.h')
0 files changed, 0 insertions, 0 deletions