From 37857e18d02c2420288e7e46a1bd3976050b1098 Mon Sep 17 00:00:00 2001 From: En-Shuo Hsu Date: Fri, 5 Feb 2021 13:57:00 +0800 Subject: [PATCH] ac97: Update Dummy* for inclusive language We update libcras to remove ableist language like dummy. Update ac97 correspondingly. BUG=b:167649426 TEST=./build_packages --autosetgov --board=hatch crosvm Change-Id: I7639ee3912fd67b832bb28161e1ef91972fe1e30 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2543765 Tested-by: En-Shuo Hsu Reviewed-by: Dylan Reid Reviewed-by: Stephen Barber Reviewed-by: Chih-Yang Hsia Commit-Queue: En-Shuo Hsu --- devices/src/pci/ac97_bus_master.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devices/src/pci/ac97_bus_master.rs b/devices/src/pci/ac97_bus_master.rs index 137326ab4a..321bf5cac6 100644 --- a/devices/src/pci/ac97_bus_master.rs +++ b/devices/src/pci/ac97_bus_master.rs @@ -13,7 +13,7 @@ use std::time::{Duration, Instant}; use audio_streams::{ shm_streams::{ShmStream, ShmStreamSource}, - BoxError, DummyStreamControl, SampleFormat, StreamControl, StreamDirection, StreamEffect, + BoxError, NoopStreamControl, SampleFormat, StreamControl, StreamDirection, StreamEffect, }; use base::{ self, error, set_rt_prio_limit, set_rt_round_robin, warn, AsRawDescriptor, Event, RawDescriptor, @@ -200,7 +200,7 @@ impl AudioThreadInfo { worker.thread_run.store(false, Ordering::Relaxed); })); - self.stream_control = Some(Box::new(DummyStreamControl::new())); + self.stream_control = Some(Box::new(NoopStreamControl::new())); } fn stop(&mut self) {