From patchwork Sat Oct 15 09:18:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivasa Rao Mandadapu X-Patchwork-Id: 2918 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp563503wrs; Sat, 15 Oct 2022 02:30:15 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5neE7qksaLQhQ+ZkpwmwdZP0yC3nv5xZXsWb1LVxnSSZFn8H3DkFIMkRulKC350bLpQAVO X-Received: by 2002:a17:902:724b:b0:183:16f:fae4 with SMTP id c11-20020a170902724b00b00183016ffae4mr2165036pll.88.1665826214794; Sat, 15 Oct 2022 02:30:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665826214; cv=none; d=google.com; s=arc-20160816; b=lCBAvQY3mfgeQ1khxkR6SKpF11mhWSvprfL5vucrAqT/CWsY3UNsxFnS4+RID3reSs F1i91796WvtF8TvII6dWC91V6P1FFCrFDvJdTPXWXqNxuIGObyHfZD8D8UDPDcUg24xX a/XzS9Kaagho3TCTqeJNJ+p9pzJaWULDJtwkeoTuuJhowF+eBFdkQsw8Pp6YbLqgafpJ akw1ASW5oYp5iheO+AE3sVg6oKTnH0z1b4dItOjcRm2dAJNp34izq9qo064mzDqOaJ0n PYw6UfqbT6kzweK+D/cvi6NB6R2uhbAczXYEWK8mJPHlfGVjzvwLjKT2Hm4ohWRS36B8 2Z8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=1Hqt9r+PpGNfJpOarw5zx/cpeJI0fVMyMBRWcP49z+Y=; b=P7JPpvqawWSKlMR1LBKiJc4LI0vLQjgLaM5z8xAoIpjUWaPQ9uBqdQK133jYs9tjg1 Rn29dx2EtA9BetozuMzBtD0JldgXQHlCbb46i4N2hgWW2jrg2jVu0p8zLTBsp+KpJ3uD NVMN4X6pfqhHx7ZHsPBq4bgWoeU3Zm68pqnTJ80VSnGhNXXBhGcQarmjXyV76Qf7ITEi OPoyrSCmRrDpoPc5xoBecpPQ9aqqTczWZrwQHQNKo5eRY6ZMrpy7W+Klerxr4sydB5x4 emjaQDMCPbCYzOFiGKyCvxKGFEkAqATG+C38n8gCEKJFvY7DUO5qkn467X0/klc5ACSP IlGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=QBWgYXlI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y62-20020a633241000000b0041d85a1c4e2si4924441pgy.420.2022.10.15.02.30.01; Sat, 15 Oct 2022 02:30:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=QBWgYXlI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229722AbiJOJUG (ORCPT + 99 others); Sat, 15 Oct 2022 05:20:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229554AbiJOJUE (ORCPT ); Sat, 15 Oct 2022 05:20:04 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 583EB10C8; Sat, 15 Oct 2022 02:19:59 -0700 (PDT) Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 29F8rU15009642; Sat, 15 Oct 2022 09:19:10 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=qcppdkim1; bh=1Hqt9r+PpGNfJpOarw5zx/cpeJI0fVMyMBRWcP49z+Y=; b=QBWgYXlI28BZ2Z7FhxehuiK5UhJNQxzkBl9WtEwkKtk9SR2ZgzxAtY6MC4zvho8nuct8 Cjkkg2ZWJNDci6yrQGLyxAwrf+zL/an4pnhn0bqWKCrOlDNQqIby+AVfDyBtoPR+KwXI xo+nZeUAXw7wAOIMsv0oOk3b0X31Kh72ilQesfDCKdX0OlLZrvxNBOCppmnsxtb4vMO3 VM1ZV7wGm2bG5CAhfmuMcAd4t1UpE5OhkTPVBPA70l68gM2mV5gFQph1Ck1YNhXmEHvB 6FZZ4BWHsdGvuUtTf9KbOERb6HnkqvB9SseqUQRCRXN55joRkUI+FSf4lD/SsCrnwMCg vg== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3k7ku08udp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 15 Oct 2022 09:19:10 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 29F9J9Gn004692 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 15 Oct 2022 09:19:09 GMT Received: from hu-srivasam-hyd.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.29; Sat, 15 Oct 2022 02:19:04 -0700 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , , , , , , , CC: Srinivasa Rao Mandadapu Subject: [RESEND] Asoc: qcom: lpass-cpu: Mark HDMI TX parity register as volatile Date: Sat, 15 Oct 2022 14:48:50 +0530 Message-ID: <1665825530-7593-1-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: IptUpT92qQO9KVHWBIgZ5dFdNhVgO2ZD X-Proofpoint-ORIG-GUID: IptUpT92qQO9KVHWBIgZ5dFdNhVgO2ZD X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-10-15_05,2022-10-14_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 mlxlogscore=812 lowpriorityscore=0 impostorscore=0 clxscore=1015 priorityscore=1501 adultscore=0 malwarescore=0 spamscore=0 suspectscore=0 mlxscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2210150053 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1746745388960841745?= X-GMAIL-MSGID: =?utf-8?q?1746745388960841745?= Update LPASS_HDMI_TX_PARITY_ADDR register as volatile, to fix dp audio failures observed with some of external monitors. Fixes: 7cb37b7bd0d3 ("ASoC: qcom: Add support for lpass hdmi driver") Signed-off-by: Srinivasa Rao Mandadapu Reviewed-by: Stephen Boyd --- -- Resending this patch as it was posted long back and forgot to track. sound/soc/qcom/lpass-cpu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/qcom/lpass-cpu.c b/sound/soc/qcom/lpass-cpu.c index 99a3b44..5435384 100644 --- a/sound/soc/qcom/lpass-cpu.c +++ b/sound/soc/qcom/lpass-cpu.c @@ -784,6 +784,8 @@ static bool lpass_hdmi_regmap_volatile(struct device *dev, unsigned int reg) return true; if (reg == LPASS_HDMI_TX_VBIT_CTL_ADDR(v)) return true; + if (reg == LPASS_HDMI_TX_PARITY_ADDR(v)) + return true; for (i = 0; i < v->hdmi_rdma_channels; ++i) { if (reg == LPAIF_HDMI_RDMACURR_REG(v, i))