Skip to content

Commit

Permalink
Revert back to default device number for HDMI
Browse files Browse the repository at this point in the history
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 1b35fee.

Tracked-On: OAM-97262
Signed-off-by: gkdeepa [email protected]
  • Loading branch information
gkdeepa authored and sysopenci committed Jun 11, 2021
1 parent 1b35fee commit 183d813
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions hdmi/tinyaudio_hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit 183d813

Please sign in to comment.