From d35bf2922aaf698d996e2d2221399377c6e1f66a Mon Sep 17 00:00:00 2001 From: Dominig ar Foll Intel Open Source Date: Wed, 20 Dec 2017 08:00:33 +0100 Subject: removing MIC entry in usb-audio HAL as it crashes on HW without Mic Change-Id: I2e3c2dc4a8be968c9d6033596df27de6c3fd1f2e Signed-off-by: Dominig ar Foll Intel Open Source --- USB-Device/UsbDeviceHAL.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/USB-Device/UsbDeviceHAL.c b/USB-Device/UsbDeviceHAL.c index 1004055..fdd2174 100644 --- a/USB-Device/UsbDeviceHAL.c +++ b/USB-Device/UsbDeviceHAL.c @@ -129,7 +129,8 @@ STATIC alsaHalMapT alsaHalMap[]= { { .tag=Master_Playback_Volume, . ctl={.name="PCM Playback Volume", .value=80 }}, { .tag=PCM_Playback_Volume , .ctl={.name="PCM Playback Volume", .value=80 }}, { .tag=PCM_Playback_Switch , .ctl={.name="PCM Playback Switch", .value=01 }}, - { .tag=Capture_Volume , .ctl={.name="Mic Capture Volume", .value=0 }}, +// usb-sound has no mic for CES +// { .tag=Capture_Volume , .ctl={.name="Mic Capture Volume", .value=0 }}, // Sound card does not have hardware volume ramping { .tag=Master_Playback_Ramp , .cb={.callback=volumeRamp, .handle=&volRampMaster}, .info="Master Playback Volume Ramp", -- cgit 1.2.3-korg