diff options
author | Keyon Jie <[email protected]> | 2019-08-07 09:50:30 -0500 |
---|---|---|
committer | Mark Brown <[email protected]> | 2019-08-08 20:38:53 +0100 |
commit | 804cbf4bb063204ca6c2471baa694548aab02ce3 (patch) | |
tree | f5d9076b955dd9086b533a0b0792032dd96acc2b /lib/test_overflow.c | |
parent | cc352735d49c9c25fd711795bee35d3d001ddffa (diff) |
ASoC: hdac_hda: fix page fault issue by removing race
There is a race between hda codec device removing and the
jack-detecting work, which will lead to a page fault issue as the
latter work is accessing codec device which could be already removed.
Here add the cancellation of jack-detecting work before codecs are actually
removed to avoid the race and fix the issue.
Bug: https://github.com/thesofproject/linux/issues/1067
Signed-off-by: Keyon Jie <[email protected]>
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions