From 183d813ac1584c33a9d418549beb1807f41a0e9f Mon Sep 17 00:00:00 2001 From: gkdeepa Date: Wed, 9 Jun 2021 14:54:13 +0530 Subject: [PATCH] Revert back to default device number for HDMI Older version of kernel the HDMI audio was ON for device 11 on TGL, in the newer version, HDMI audio is defaulting to device 3. This reverts commit 1b35fee352fbbcf96d8f3c310c8b6013c5de8633. Tracked-On: OAM-97262 Signed-off-by: gkdeepa g.k.deepa@intel.com --- hdmi/tinyaudio_hw.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/hdmi/tinyaudio_hw.c b/hdmi/tinyaudio_hw.c index 8196462..3db4b0b 100755 --- a/hdmi/tinyaudio_hw.c +++ b/hdmi/tinyaudio_hw.c @@ -72,7 +72,6 @@ #define DEFAULT_DEVICE 3 #define DEFAULT_DEVICE_EHL 7 -#define DEFAULT_DEVICE_TGL 11 /*this is used to avoid starvation*/ #define LATENCY_TO_BUFFER_SIZE_RATIO 2 @@ -241,8 +240,6 @@ static int start_output_stream(struct stream_out *out) property_get("ro.vendor.hdmi.audio", value, "0"); if (!strcmp(value,"ehl")) { adev->device = DEFAULT_DEVICE_EHL; - } else if (!strcmp(value,"tgl")) { - adev->device = DEFAULT_DEVICE_TGL; } else { adev->device = DEFAULT_DEVICE; }