aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorVijendar Mukunda <[email protected]>2021-04-28 01:53:31 +0530
committerMark Brown <[email protected]>2021-04-28 16:34:55 +0100
commit6879e8e759bf9e05eaee85e32ca1a936e6b46da1 (patch)
tree1f4703365cca091f0c26d996672e8dd643ee87c5 /tools/perf/scripts/python/export-to-postgresql.py
parent6c9762a78c325107dc37d20ee21002b841679209 (diff)
ASoC: amd: fix for pcm_read() error
Below phython script throwing pcm_read() error. import subprocess p = subprocess.Popen(["aplay -t raw -D plughw:1,0 /dev/zero"], shell=True) subprocess.call(["arecord -Dhw:1,0 --dump-hw-params"], shell=True) subprocess.call(["arecord -Dhw:1,0 -fdat -d1 /dev/null"], shell=True) p.kill() Handling ACP global external interrupt enable register causing this issue. This register got updated wrongly when there is active stream causing interrupts disabled for active stream. Refactored code to handle enabling and disabling external interrupts. Signed-off-by: Vijendar Mukunda <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions