summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorYu Zhao <yuzhao@google.com>2018-09-11 15:14:04 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-10-18 09:16:22 +0200
commit2af2b70c107b8a2e75e3c3351f3777e8cf26229c (patch)
tree37e16ef8a5869199ccc88c49a9bdf0cf06812b9f /tools/perf/scripts/python/export-to-postgresql.py
parenta5733703e38c9a1b79ae6f086d3b427ae8b49e93 (diff)
sound: enable interrupt after dma buffer initialization
[ Upstream commit b61749a89f826eb61fc59794d9e4697bd246eb61 ] In snd_hdac_bus_init_chip(), we enable interrupt before snd_hdac_bus_init_cmd_io() initializing dma buffers. If irq has been acquired and irq handler uses the dma buffer, kernel may crash when interrupt comes in. Fix the problem by postponing enabling irq after dma buffer initialization. And warn once on null dma buffer pointer during the initialization. Reviewed-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Yu Zhao <yuzhao@google.com> Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions