From ad131d3ea9606f235445268526b0403ff7f4eeaf Mon Sep 17 00:00:00 2001 From: Ramu Gottipati Date: Thu, 26 Apr 2018 16:55:41 +0530 Subject: [PATCH] ASoC: msm: qdsp6v2 : Add AFE port validation for MULTICHAN_HDMI_RX validate port doesn't handle MULTICHAN_HDMI_RX and causes failure to set afe params. Included MULTICHAN_HDMI_RX in port validation Change-Id: I3603ec2a3d392970cb48be1658b6030d3f4107f2 Signed-off-by: Ramu Gottipati --- sound/soc/msm/qdsp6v2/q6audio-v2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sound/soc/msm/qdsp6v2/q6audio-v2.c b/sound/soc/msm/qdsp6v2/q6audio-v2.c index 3b745c24f90e..0062e4cd6432 100644 --- a/sound/soc/msm/qdsp6v2/q6audio-v2.c +++ b/sound/soc/msm/qdsp6v2/q6audio-v2.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2012-2017, The Linux Foundation. All rights reserved. +/* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -794,6 +794,7 @@ int q6audio_validate_port(u16 port_id) case AFE_PORT_ID_INT5_MI2S_TX: case AFE_PORT_ID_INT6_MI2S_RX: case AFE_PORT_ID_INT6_MI2S_TX: + case AFE_PORT_ID_MULTICHAN_HDMI_RX: { ret = 0; break;