From nobody Tue Sep 9 21:36:13 2025 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 079ED2DF71F for ; Fri, 5 Sep 2025 10:40:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757068849; cv=none; b=IZLxU9jkX+EP+FgotDMjVMJXjQcrN2JnIZbcCHsqFhN8/VDhEJwxrZ/y1df5+60yYOekbAJ7HP5BxF3ca79WqUDdHpLWkmYupBgZtV8Ao5jmIics9WcAXC6OCNIUtmXY2ITAawCZrzaM763FcLyP+juSK+RWC3fNy3HydEifvms= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757068849; c=relaxed/simple; bh=E1XNMHzT9B2C315s+ymn+DVFiMNCskeWF4Pe/x7nwY0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=vCnAhe7IOa2CJ3pzmxIJ4hdY6XE1M3VhsJjdsADG/LJOZscZmqV2BFEt18TWRFt+0ZuoB4pouTzT9MGCC2n94j1LEJe7pLfEz2Hpoze9uxR6egw5YiuQP6TneL4mlPgP9a03ERpv5Scl4dqrsYpniaqcV/ea7Qp6JPYN005+5mo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=NFE5YcdE; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="NFE5YcdE" Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 5857Ddxs002728 for ; Fri, 5 Sep 2025 10:40:47 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=QSkUHu0gVYG UHPii9r46YVIB5E4jaF2svdTcxZ7SYvs=; b=NFE5YcdE8AtdARXEW7gSmhgkiuw lnTrZ/n5Yia6uCJO55PWRpSDvNAhhkN32mhVlEv18tmLiXm8OJsgBEvp1zQXu1QJ 6w30MEwvJcutnqr/a4U0klxifDLDUt7Txnl8Q4jgOIr436wJjB3MWV7KDhnCM1hq oe714c77uMB2drZ5cggH5xDeXgTS08Ce7TZPFhG8JjcxAsKZ5Tt+SnS/a1KeXvO8 mIGwRN1PohvsNKTCtmelh9mP40MeV/JH19kYwTxmZ5npmJgshFPzejLE2M8aHuvW 5QDTJT/Rn1rVSueL4licfZmZ0rkzIGg9l/xpOS6MfOpCMKQiyM6hbxLpBww== Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 48ush3aq88-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Fri, 05 Sep 2025 10:40:47 +0000 (GMT) Received: by mail-pf1-f199.google.com with SMTP id d2e1a72fcca58-77260b29516so4117852b3a.3 for ; Fri, 05 Sep 2025 03:40:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1757068846; x=1757673646; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from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akgG6atJvwGAomYEC40uSzXtZtrXRk/7jhkESfRPh6ZjG7HKesvagpqeZb 3 X-Received: by 2002:a05:6a00:2381:b0:772:101f:5e46 with SMTP id d2e1a72fcca58-7723e276adamr25928868b3a.12.1757068846398; Fri, 05 Sep 2025 03:40:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHErCQvorWw+m/+4N3jUeHkcL9M/PRQHi0NUnu7aa10kmo+JoAOzfPC+ZqOLfQXDD0bME3usQ== X-Received: by 2002:a05:6a00:2381:b0:772:101f:5e46 with SMTP id d2e1a72fcca58-7723e276adamr25928840b3a.12.1757068845900; Fri, 05 Sep 2025 03:40:45 -0700 (PDT) Received: from hu-mohs-hyd.qualcomm.com ([202.46.23.25]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7722a269e9csm21993859b3a.17.2025.09.05.03.40.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Sep 2025 03:40:45 -0700 (PDT) From: Mohammad Rafi Shaik To: Srinivas Kandagatla , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Pierre-Louis Bossart Cc: linux-sound@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@oss.qualcomm.com, prasad.kumpatla@oss.qualcomm.com, ajay.nandam@oss.qualcomm.com, Srinivas Kandagatla Subject: [PATCH v2 1/3] ASoC: qcom: audioreach: Fix lpaif_type configuration for the I2S interface Date: Fri, 5 Sep 2025 16:10:18 +0530 Message-Id: <20250905104020.2463473-2-mohammad.rafi.shaik@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250905104020.2463473-1-mohammad.rafi.shaik@oss.qualcomm.com> References: <20250905104020.2463473-1-mohammad.rafi.shaik@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwODMwMDAzMiBTYWx0ZWRfX3o0O4xo5J2yI lSy8gKjJOpkKcTosuKr/EbHufX7WC4EAxop1Dk81IScoSUeCvYKW+eNmS/wmGjSx2Jb8kIdIb4e XuSGY0H0M2PlOZNAJx2RLg8ousP9z4hxoaWNgzgf/1cbk9YqGRy+WzaUCHJdjXxvFP9uR8e3jHw 1KyHHSr+76jifgalF9a9m6o4RJtBLyy9LAPwxlcIt4uFan0ibZ92EZwlV+vG0ak1R2bjRCJtbgC l/McPclnIIEO0XdSsNdTd4Z7VkpMovkQNRGqaWCxsCW6mD8Q62zcOfxvLNl91jNfA2zxKhv46Ng L5R9/5k1ToAm/BXiM0jZG2fUgn0sFoQge343J0yeNdypsa8QycGWrAv3lScCKGKp2+R0t3XCZY0 pkO6F3eb X-Proofpoint-ORIG-GUID: lTeMmB1GRu4IEGktsfLevHFwD93PzzEQ X-Proofpoint-GUID: lTeMmB1GRu4IEGktsfLevHFwD93PzzEQ X-Authority-Analysis: v=2.4 cv=M9NNKzws c=1 sm=1 tr=0 ts=68babe2f cx=c_pps a=WW5sKcV1LcKqjgzy2JUPuA==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17 a=yJojWOMRYYMA:10 a=EUspDBNiAAAA:8 a=5HF5tzHaENt2U_M8s7UA:9 a=OpyuDcXvxspvyRM73sMx:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1117,Hydra:6.1.9,FMLib:17.12.80.40 definitions=2025-09-05_03,2025-09-04_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 adultscore=0 spamscore=0 priorityscore=1501 malwarescore=0 clxscore=1015 suspectscore=0 phishscore=0 bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2507300000 definitions=main-2508300032 Content-Type: text/plain; charset="utf-8" Fix missing lpaif_type configuration for the I2S interface. The proper lpaif interface type required to allow DSP to vote appropriate clock setting for I2S interface. Fixes: 25ab80db6b133 ("ASoC: qdsp6: audioreach: add module configuration co= mmand helpers") Reviewed-by: Srinivas Kandagatla Signed-off-by: Mohammad Rafi Shaik --- sound/soc/qcom/qdsp6/audioreach.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/qcom/qdsp6/audioreach.c b/sound/soc/qcom/qdsp6/audio= reach.c index bbfd51db8797..be21d5f6af8a 100644 --- a/sound/soc/qcom/qdsp6/audioreach.c +++ b/sound/soc/qcom/qdsp6/audioreach.c @@ -995,6 +995,7 @@ static int audioreach_i2s_set_media_format(struct q6apm= _graph *graph, param_data->param_id =3D PARAM_ID_I2S_INTF_CFG; param_data->param_size =3D ic_sz - APM_MODULE_PARAM_DATA_SIZE; =20 + intf_cfg->cfg.lpaif_type =3D module->hw_interface_type; intf_cfg->cfg.intf_idx =3D module->hw_interface_idx; intf_cfg->cfg.sd_line_idx =3D module->sd_line_idx; =20 --=20 2.34.1 From nobody Tue Sep 9 21:36:13 2025 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 53CE32D7DC8 for ; Fri, 5 Sep 2025 10:40:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757068853; cv=none; b=g9y2fAiIn0uP7LmGNAHqQU2aoeILvQitSPIyEqDTjeV0QluNtYYPURN5qw4R11YIQ6Pzj/BizCrRZuQbsNjTW5RImu/vCJzd8UxuXcz5aIqLOhHurc+KNVJItFd9HorfyTK8Fi85cEe9PUGbHITHqwnkuF8kOMYw88LMmDIffjQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757068853; c=relaxed/simple; bh=o3+9zWqzop6Qirh/jUD98VgvGr+s/4CoqP1QajjE/Fk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=PwbVjiZ032m27F02F1FVAdtMEQcTrb9KC14FAd1eHNgU+O4E6Fis4/JanqU5fd/zaPWwjW83ddG6e6Dcq+ig/0B2h5T8BnaZKy/IjSVL2snFirF1umtJf+oWC9NpfkTLV+1lKH7k1EQfOxsTz5e2CQkHD2FPtpataS4gzp2Ce9I= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=fu50+kd7; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="fu50+kd7" Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 5856i7dU007619 for ; Fri, 5 Sep 2025 10:40:51 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=LXDDf7M2VYT jvwwkHPq5BIaZwMjwTKn+8VWmbHt4iis=; b=fu50+kd72QmHR755kColGCGekPa w7tGLcod3efoyTJDXPGoT5lhNYhf1cRXphx0Tai6MWYl+unmYxBRBB1pJNnG5WNl vW3pPrsvqHRn4TgdV0rfy8WDSXuZsBsnU6+IDhjf/ix0f2FTyw/KfOI+KIxrIA/P pYDBrcLQF8PXPihc9dnT3coKATyYlkBLEYtRAM4l4rpB6qEVG6vUUHJaFwd45xMw 7/EkHQWwHJVAR+LDzMPwTwYCInRIAVeWcGKNTorYa/NLkB4XosILnLkP08viCUFk IObPfP5/olssLVqDBalXlCPI4SkjRx7SOgEGpcRiAxeVMCRcDA4mC/bLr9w== Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 48ura92q51-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Fri, 05 Sep 2025 10:40:51 +0000 (GMT) Received: by mail-pf1-f199.google.com with SMTP id d2e1a72fcca58-77278d3789cso3824232b3a.1 for ; Fri, 05 Sep 2025 03:40:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1757068850; x=1757673650; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LXDDf7M2VYTjvwwkHPq5BIaZwMjwTKn+8VWmbHt4iis=; b=JYBKofRWMgSUGtTvYKRoTzOsNhMWDK5Oa1PH3gp/ci5rFEUHkrJarGve3+lCCE3qSu 2WC2q7r9OyaocV7IkM8/KtMI09+xeai7wH80/26mfpN4rEJy9e4rYEskFNig4aczoIZm aFLT0ApkyD4Km/YPpcYguUyfvo5abk/LX6YZRSiUJBrReUzjxKQXyD19YVthNreGvboB XJjqSAztJenn+meWDGobzYZysBsWQaou09hexv8KaN8nCSEauTeeSIY5TDlraPxGjd9w rkBd13z2hDj/dsdKdb8PPdEriJVbIQLrJI60RyZhk2kkYMif1QQFsop+8wqAwr1yNyLi j/EQ== X-Forwarded-Encrypted: i=1; AJvYcCXgIncJKP2MiHiQQfE7F1k8YfPF6b+VVOBrMBJEaYT515LQnHR5ESEnjntSioBP1lTeTjh03DtE/eFC1hw=@vger.kernel.org X-Gm-Message-State: AOJu0Yyq73pKD4/fIwjGMob/z6XyV6tC58WGfpgnzDnNSnQrxWrM0x70 h33FadUdWts0UoyrESQZsO25XmDH0Yb35ZqOmdMJhcUaktSxVNVvQDsyHHC9MT79vMQ4ozcfN6y aWcBloDTEa8QajYkVaSqgVZsBvuuRjqatjYv4Oz0amfBr35HuupwMutqvz/ACPYfKpec= X-Gm-Gg: ASbGncvfim72F+J1W4Q8qpbl5ZsvqeQjGNqLVWePAwSRkv0G1XSjIJA2u87tXH+u+Rj kxFobW5k0bnwGUsFbcCMkyAZ085p/tyiBrJ0wbXrreCNhkSANaIlTUN2i/4LU9fga1Y+sKPKS8z KJMJJZY7VIkznRLhad/mzftOYSAppT3ri10lyimmHLSE/ufyNOMrHmn1OLfELV5536CyNahVLUW dGH2R4WTwWTm+jxq8JFTrcVZo4CDlLYAQxQg3fQNSnqOWFZaLoliKpQ65zbY1FdILxYsoGYtOdD ES23FReBjSngSXF6co4DsT0b8rEtB3+4WqdaIdAvvagh4r47+3GPP6QTdLSjtmMHNMc7m1yRZmN 5 X-Received: by 2002:a05:6a00:2d86:b0:771:fdd9:efa0 with SMTP id d2e1a72fcca58-7723e36b457mr27393597b3a.15.1757068849852; Fri, 05 Sep 2025 03:40:49 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHnK9/HS3NMRByU9Ib95AJxuy1rcwlfJDqcn6yMRx61rMf0Ranxs9dLAw+zWBYAe4AELefC2w== X-Received: by 2002:a05:6a00:2d86:b0:771:fdd9:efa0 with SMTP id d2e1a72fcca58-7723e36b457mr27393565b3a.15.1757068849386; Fri, 05 Sep 2025 03:40:49 -0700 (PDT) Received: from hu-mohs-hyd.qualcomm.com ([202.46.23.25]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7722a269e9csm21993859b3a.17.2025.09.05.03.40.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Sep 2025 03:40:49 -0700 (PDT) From: Mohammad Rafi Shaik To: Srinivas Kandagatla , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Pierre-Louis Bossart Cc: linux-sound@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@oss.qualcomm.com, prasad.kumpatla@oss.qualcomm.com, ajay.nandam@oss.qualcomm.com Subject: [PATCH v2 2/3] ASoC: qcom: q6apm-lpass-dais: Fix missing set_fmt DAI op for I2S Date: Fri, 5 Sep 2025 16:10:19 +0530 Message-Id: <20250905104020.2463473-3-mohammad.rafi.shaik@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250905104020.2463473-1-mohammad.rafi.shaik@oss.qualcomm.com> References: <20250905104020.2463473-1-mohammad.rafi.shaik@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-ORIG-GUID: ut7UAis9eD6j5G-Ltg5uTaVYUEoUUgRk X-Proofpoint-GUID: ut7UAis9eD6j5G-Ltg5uTaVYUEoUUgRk X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwODMwMDAyMCBTYWx0ZWRfX5XRBDMH16dN7 bqzYAVxEUotdQlqGlj5kpTj2dxehU+qh1EEYrTQvvmTNdPkw5d133kHoxyTocJsxEC5bMHwAgBt oFCqg89HRF9WFhT9mOTjV8bjNzo9F5QB9EklyTpoZcn5+A4hKIv38GOA6xUsoZgT+gXJwKDDdNl pMyWH1Ap7C8a65wpOeNXzQHaIQ9wxHiRdiKgvqKapuawB9gFwPcaLLLn7vXhbhO5hwjl0DbiuWw H6oExJUYqUethE2bNiyVLppclVDwsmhlju+PYHYCB36iqYeMsDHuf+lhx/fRsrQfkwbyv5cjtWt o2Z395gKXb1RDWyfxfJ9GKjiiaudSVBX18J3SoOSKQoPztg9g/kPqN6eObNUR+vkGpjTBbaDDtn CkuDrivl X-Authority-Analysis: v=2.4 cv=VNndn8PX c=1 sm=1 tr=0 ts=68babe33 cx=c_pps a=WW5sKcV1LcKqjgzy2JUPuA==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17 a=yJojWOMRYYMA:10 a=EUspDBNiAAAA:8 a=sT7cmTyyBTHRPr1aEM0A:9 a=OpyuDcXvxspvyRM73sMx:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1117,Hydra:6.1.9,FMLib:17.12.80.40 definitions=2025-09-05_03,2025-09-04_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 spamscore=0 impostorscore=0 malwarescore=0 bulkscore=0 clxscore=1015 adultscore=0 priorityscore=1501 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2507300000 definitions=main-2508300020 Content-Type: text/plain; charset="utf-8" The q6i2s_set_fmt() function was defined but never linked into the I2S DAI operations, resulting DAI format settings is being ignored during stream setup. This change fixes the issue by properly linking the .set_fmt handler within the DAI ops. Fixes: 30ad723b93ade ("ASoC: qdsp6: audioreach: add q6apm lpass dai support= ") Signed-off-by: Mohammad Rafi Shaik Reviewed-by: Srinivas Kandagatla --- sound/soc/qcom/qdsp6/q6apm-lpass-dais.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/qcom/qdsp6/q6apm-lpass-dais.c b/sound/soc/qcom/qdsp6= /q6apm-lpass-dais.c index 20974f10406b..528756f1332b 100644 --- a/sound/soc/qcom/qdsp6/q6apm-lpass-dais.c +++ b/sound/soc/qcom/qdsp6/q6apm-lpass-dais.c @@ -262,6 +262,7 @@ static const struct snd_soc_dai_ops q6i2s_ops =3D { .shutdown =3D q6apm_lpass_dai_shutdown, .set_channel_map =3D q6dma_set_channel_map, .hw_params =3D q6dma_hw_params, + .set_fmt =3D q6i2s_set_fmt, }; =20 static const struct snd_soc_dai_ops q6hdmi_ops =3D { --=20 2.34.1 From nobody Tue Sep 9 21:36:13 2025 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B814C2E62A8 for ; Fri, 5 Sep 2025 10:40:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757068857; cv=none; b=gFHmeyIvgVkPqkFcvSFMfNgABDlybf8Hvx+rChxi7cvjV0lzvdqcuEZF0Fp8bleWpmV3CVvD3vG+YBJFj6lTUaMmYFWWDJqkPZmobkcEHn0hingu6UM+nxAcybJFb73l1Q9aHF24q0fqrbQQF/6fDaO3hHKfbXDsh5/2mzn0h8k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757068857; c=relaxed/simple; bh=R+8y6aC4oGsKszWLbVLiFImQ2iZ4uIW6PWC9HmhFcvE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ka7TwIncnHjl+0gFC3PZe8xHxl4A4J7/uxfXdCOyhKu3whHXtYCTNcejcPOzvwl6YEbCULtK+4z7M+hEh2fajwSWMG+UwaJLYKnHCc71jthbvGsypRhzOpCGs0Wcu/ZxIDsEdc3ZduygZ6UG9cc0ZhVIeSy7EpdjR8QB25BOxeQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=WBD4+zFj; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="WBD4+zFj" Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 5857QkS8007622 for ; Fri, 5 Sep 2025 10:40:55 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=hcLibYhLr1f 30XIuUz6qkoSEgZUIT3PqmW87KBYUtvU=; b=WBD4+zFjfJZyHVOASHd11Gg5d4H +RBRb2bXcHhFtbNrmE4GcrYXIKFH71ZuEg/4m8YEjjTwewHWhJPuhfc/shNh7FNx kgXJwOPQnFDfDTLoEv5ZI+Fj3P1nwky7PFeyXhRXy5iirFD+Ccyuwd/7DN9RE6/2 uBj9rUZpA88P76LNYi8aDSIwh3aTnjb5mUj8JwV8IPBGyOvdR7piDLbdhSVeyucf +4P/2hfIEI9itEy3zdkIqgI5j5vJWoqPxjySriPcb0Z0fjPzUS6T5hu4GN3p9ytP BlpSshxi3ICV7BUdcdKr6yMulKBJAdEIvfaQ0rCrHg09OTPtSnRLfefrWDA== Received: from mail-pj1-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 48ura92q59-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Fri, 05 Sep 2025 10:40:54 +0000 (GMT) Received: by mail-pj1-f71.google.com with SMTP id 98e67ed59e1d1-32b698861d8so2063352a91.2 for ; Fri, 05 Sep 2025 03:40:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1757068853; x=1757673653; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply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9u0pNRc2yT3fmkJIFD42yuHFuCw3+CS31K59 P X-Received: by 2002:a17:90a:d408:b0:329:ca48:70b0 with SMTP id 98e67ed59e1d1-329ca487480mr17260546a91.34.1757068853338; Fri, 05 Sep 2025 03:40:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE2/aaqRA4AnQ98LMQ6v6f+QE3oCWn+P3lpjqD932yoYZSGs4FktX5k8hwdC3ShO4MNgEgsvQ== X-Received: by 2002:a17:90a:d408:b0:329:ca48:70b0 with SMTP id 98e67ed59e1d1-329ca487480mr17260517a91.34.1757068852886; Fri, 05 Sep 2025 03:40:52 -0700 (PDT) Received: from hu-mohs-hyd.qualcomm.com ([202.46.23.25]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7722a269e9csm21993859b3a.17.2025.09.05.03.40.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Sep 2025 03:40:52 -0700 (PDT) From: Mohammad Rafi Shaik To: Srinivas Kandagatla , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Pierre-Louis Bossart Cc: linux-sound@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@oss.qualcomm.com, prasad.kumpatla@oss.qualcomm.com, ajay.nandam@oss.qualcomm.com Subject: [PATCH v2 3/3] ASoC: qcom: sc8280xp: Fix DAI format setting for MI2S interfaces Date: Fri, 5 Sep 2025 16:10:20 +0530 Message-Id: <20250905104020.2463473-4-mohammad.rafi.shaik@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250905104020.2463473-1-mohammad.rafi.shaik@oss.qualcomm.com> References: <20250905104020.2463473-1-mohammad.rafi.shaik@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-ORIG-GUID: kF50fh_xrBkj_1lXzrbYA4qy_st01oiL X-Proofpoint-GUID: kF50fh_xrBkj_1lXzrbYA4qy_st01oiL X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwODMwMDAyMCBTYWx0ZWRfXzJvmpbP79WCj tpYsTB2lKwCX35SUDYhLh3yWuDj0lsfOzQVUFQEtFSacoWRJ2N0UJdFrcZh9vBcSoatLMi5jaq5 b7isfFZ3f/YOEEpLi1YMGmUp0yxT2F5N9LJUDzIBhzbZyVR3zTAd0QovfScu1cxwpDDiroVuLbO 9rwBJ+tJ+KLBiPAYHXwuItbUn4yA+GxYmlwC8LOqDIyh58Yn5No1wKxKLjxJcqQ7esMJyQKV7bX 51pZLhOX5ZvG12VxRfwEbV1DHFmj7npcPqa9JEdwjNWKG/bqXgH+4AtSlP+wvjWi3g+3LHE15jD dxIcd8GbITF8TDipe6FFP7KfuBUbO4MiYenSE4rQcB04wfpNdIij2/3R/OJ4jLgBdwnBXCPE8Ld yN56FT4S X-Authority-Analysis: v=2.4 cv=VNndn8PX c=1 sm=1 tr=0 ts=68babe36 cx=c_pps a=UNFcQwm+pnOIJct1K4W+Mw==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17 a=yJojWOMRYYMA:10 a=EUspDBNiAAAA:8 a=tfJ7er6LdcoPz7dJv_wA:9 a=uKXjsCUrEbL0IQVhDsJ9:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1117,Hydra:6.1.9,FMLib:17.12.80.40 definitions=2025-09-05_03,2025-09-04_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 spamscore=0 impostorscore=0 malwarescore=0 bulkscore=0 clxscore=1015 adultscore=0 priorityscore=1501 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2507300000 definitions=main-2508300020 Content-Type: text/plain; charset="utf-8" The current implementation does not configure the CPU DAI format for MI2S interfaces, resulting in -EIO errors during audio playback and capture. This prevents the correct clock from being enabled for the MI2S interface. Configure the required DAI format to enable proper clock settings. Tested on Lemans evk platform. Fixes: 295aeea6646ad ("ASoC: qcom: add machine driver for sc8280xp") Signed-off-by: Mohammad Rafi Shaik Reviewed-by: Srinivas Kandagatla --- sound/soc/qcom/sc8280xp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sound/soc/qcom/sc8280xp.c b/sound/soc/qcom/sc8280xp.c index 73f9f82c4e25..2fd06354923a 100644 --- a/sound/soc/qcom/sc8280xp.c +++ b/sound/soc/qcom/sc8280xp.c @@ -32,6 +32,9 @@ static int sc8280xp_snd_init(struct snd_soc_pcm_runtime *= rtd) int dp_pcm_id =3D 0; =20 switch (cpu_dai->id) { + case PRIMARY_MI2S_RX...QUATERNARY_MI2S_TX: + snd_soc_dai_set_fmt(cpu_dai, SND_SOC_DAIFMT_BP_FP); + break; case WSA_CODEC_DMA_RX_0: case WSA_CODEC_DMA_RX_1: /* --=20 2.34.1