summary refs log tree commit diff
path: root/devices/src/lib.rs
diff options
context:
space:
mode:
authorpaulhsia <paulhsia@chromium.org>2019-10-04 20:02:49 +0800
committerCommit Bot <commit-bot@chromium.org>2019-10-08 11:53:24 +0000
commit0b6f02fea7716ec5752555ea44aafed214b58faa (patch)
tree4814c5eed59918dc84eaa7e883c0fdb9882ffdc3 /devices/src/lib.rs
parent7595d80248541434a8f4d93b5032b701cfdf4c7f (diff)
downloadcrosvm-0b6f02fea7716ec5752555ea44aafed214b58faa.tar
crosvm-0b6f02fea7716ec5752555ea44aafed214b58faa.tar.gz
crosvm-0b6f02fea7716ec5752555ea44aafed214b58faa.tar.bz2
crosvm-0b6f02fea7716ec5752555ea44aafed214b58faa.tar.lz
crosvm-0b6f02fea7716ec5752555ea44aafed214b58faa.tar.xz
crosvm-0b6f02fea7716ec5752555ea44aafed214b58faa.tar.zst
crosvm-0b6f02fea7716ec5752555ea44aafed214b58faa.zip
device: ac97: Cleanup interrupt logic
- Send only one event while re-sampling.
- Don't sent event if the new sr is identical to the old one

This can reduce the rate to trigger the issue.

BUG=chromium:937977
TEST=Build and run lots of aplay and arecord in guest vm

Change-Id: Ibd21f363076c977ae256079e2615094b7ed2408b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/1840752
Tested-by: Chih-Yang Hsia <paulhsia@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Dylan Reid <dgreid@chromium.org>
Commit-Queue: Chih-Yang Hsia <paulhsia@chromium.org>
Diffstat (limited to 'devices/src/lib.rs')
0 files changed, 0 insertions, 0 deletions