diff options
author | 2016-02-19 14:44:41 +0000 | |
---|---|---|
committer | 2016-02-21 03:08:19 +0900 | |
commit | c7dae7c4c60693286298e300b3d140c8cff46daa (patch) | |
tree | 276a4911fa5106e5ebdb9f0916b5a7db6cc6032d /tools/perf/scripts/python/stackcollapse.py | |
parent | ASoC: wm_adsp: Return sample rate in wm_adsp_compr_pointer (diff) | |
download | linux-dev-c7dae7c4c60693286298e300b3d140c8cff46daa.tar.xz linux-dev-c7dae7c4c60693286298e300b3d140c8cff46daa.zip |
ASoC: wm_adsp: Avoid narrow race condition on compr pointer
There is a very small window between then wm_adsp_compr_free gets call
and when the DSP is actually powered down. If we get an IRQ from the DSP
in this window then the wm_adsp_compr pointer will be NULL. This patch
adds a check for this into the IRQ handler to avoid any issues when this
happens.
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions