sandbox: sound: Silence sound for testing
authorSimon Glass <sjg@chromium.org>
Sun, 17 Feb 2019 03:24:56 +0000 (20:24 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 20 Feb 2019 07:27:09 +0000 (15:27 +0800)
commitecc7973d1c4ba684d2e2750a948f341693c39093
treeb389a041ddde309393a569c4fa8f82f80cb20df7
parent2ca471379b471dc0d31459974d7cc4b54c824956
sandbox: sound: Silence sound for testing

When testing the sound system we don't need the hear the beeps. The
testing works by checking the data that would be emitted. Add a
device-tree property to silence the sound, and enable it for testing.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/sandbox/dts/test.dts
drivers/sound/sandbox.c