From patchwork Fri Feb 2 15:41:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 195904 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:9bc1:b0:106:209c:c626 with SMTP id op1csp512837dyc; Fri, 2 Feb 2024 07:42:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IFqUg/R7v3gFjAx1hesKPvkLIrC3vJ+tF4/BRtwfehxhdeFB1vIXDuSIQEs99oXk9qR983K X-Received: by 2002:aa7:d8d3:0:b0:55f:fb63:1c49 with SMTP id k19-20020aa7d8d3000000b0055ffb631c49mr65219eds.0.1706888548247; Fri, 02 Feb 2024 07:42:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706888548; cv=pass; d=google.com; s=arc-20160816; b=lS6ggmem7QpHgmtLZuMjMFG7872iMFXCAYYBSdT+pWQKBRkpfgHUZIEG6hN2Z9IpND jVbrqS7JpkbJ/WocHSDXANRKN/5Kr7Xy8t362X/jDnQpLQM1xycCpmphTGqOA9WIWKFs R+i9r3ZM5/Ys8PY5hJI5GwZwvZswsJZm4PVMyBUm/+ycp+XKClqPqt1kugLSt16uwKtK NvbR3hsAAiw1eXKWUHrLr5rwilXELRMPgRMhlHQksI+cWW6zzJ/waqUgvN3502LKa96c yjONhU+I19lMrmxDdmH3yPeLOHtOq6r1NhRSQBKNmnTkckaQLCzB8136houWdjibFARj KEPg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=JTaE595ceD/5+24qRv22P7o3MSmNjYJJN4DZfYKGFdg=; fh=fhC/6QOLyfuUAd0G7WyF8itQf2wB56B3vspWwO8VMAQ=; b=axMc7LttrYcQz1x/rewrN/S1SepwxhVUwbiNy6c/CT1TkPd1FYhY1d9bljJ+0dDzVz hdtNzVeTQtzTQNd1SaMm8+n97Kommj7CR7a+vPqGZ4T2XP3M+mWyopIS/U4yu95WQoGj 6n/TJsmX6wtOK9mQ5OQdaQo/7Gyhw/zNy5KlZ4I1fSTzt03B8OLQJTkzbe8OASgRh/dN trY5BKk97vTgOHZotb4B4euc34cop7kdHMEwJ3J+nzRGjdo916ohCIc8Rj2K8EH78jVp lL6w6NdKXdoUoqgU+AJHzx7GsKbWcnO/iljgbaLdA0cJf98PsvMOv5oi6dls2EtI5Jd7 csfQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zdSjn+pz; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-50038-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-50038-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=1; AJvYcCVLzhSXNOF4BVg0bm1hf6acYFgVxQsryy706VyWSmwxFCmmZgAXQoH/GPzqV/JpjxwysSg2tsf3M3sSN+sCpKmBZ7eENw== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id cy28-20020a0564021c9c00b0055cfd9b7636si895597edb.103.2024.02.02.07.42.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 07:42:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-50038-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zdSjn+pz; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-50038-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-50038-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id C9D7C1F28036 for ; Fri, 2 Feb 2024 15:42:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0DC0A1482F0; Fri, 2 Feb 2024 15:41:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="zdSjn+pz" Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BA635146913 for ; Fri, 2 Feb 2024 15:41:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706888504; cv=none; b=OMV3BN2sZXQVwFhPPHR9LM9ZP9l8eJKW2U8wTzy8+cayrj4sDbU4XkfV2Toe7ESl2CuDw+Y1/X5NUl2u6tDuuN7344DIadOBACadGCW9yziF/6T5MZW/DZkH0PY5ZKEfmXf/XEtZlO6CrXRGNH2Xfo+27CFapM7pyJmDT4OeHuw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706888504; c=relaxed/simple; bh=scWCCSNr1Q3lv9FkWzECrNcLle7Ox7YalRe8vTccd4A=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=DxvyxCrqcEZOlOQ6rBl76AxrsHTj725+u2mVNnSSp/KH2gvO2rJfOo3VGpxRc8RQokvMbG0laHjmgkLpOtX0hthhaPXSujB5DoxJrvpdFPB4Csjkd0PFSLMzraRzt7OZM2l4DGUyhwyi6xiqmikxn7Gk+AFoQPrqQ9j7vNOAHIk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=zdSjn+pz; arc=none smtp.client-ip=209.85.167.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-5112d5ab492so2935102e87.0 for ; Fri, 02 Feb 2024 07:41:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706888501; x=1707493301; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=JTaE595ceD/5+24qRv22P7o3MSmNjYJJN4DZfYKGFdg=; b=zdSjn+pzgqCXHaQj2HLnL2H+BliDJ3UvQ6QpRa8YnAzD5Ol+jhop8XZrBify/XfeSC b231xBp3i8a3WZo7uuERJtHDatYFylDKNMYiauAISg9SjGV+UL7HE24Da/nJKHqVPqBH y9cowYtIGBL2hJs+DYIJ3emiHqRVB+Uk/9rtTbnziYXKQMh6uQ7O2nafytV/bX6JKKH3 DX9s2Sz92K3ZaDTZmmOHAVSGANplR+ZzpscB0SG28fz+7wT/2osn40lIV9IZzsQ0JQEO EnO+3E5pzt/1TtYhFGPXy+IHgPd1Z6DdLEwhoFWVzj/RevwB48xox39sObAuS48kcDT7 1oXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706888501; x=1707493301; 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=JTaE595ceD/5+24qRv22P7o3MSmNjYJJN4DZfYKGFdg=; b=HxwUyPrW2O6y4d5bNnpEe6lEMQf831tVaDw4ix+4bKkn67C6y4wZtaEjWu5j0qQhVk fyKDInlWXxpPpDFn2LLZiT/RnO5ra6QA8zgD4N2Byd5UKa2wkYMjzeamfVLOaCsudq6e +7cAPar2NiGbrja13jZ1/hzXtqn8BdNxr/UZ4CN1c7EzDLMK0DKtHb8pPmpX0yGTkfFB RegDSvkNZ+ToNV5XTgA4tcz1B98LdzOFxTaIIPyDwUR601oCuSdlsYqIB7k8hOzPQJtD EQp1X360hSiTgLo9jZUKiJCkZj/rLExjq2QoYZWuiSbcmfmGlXY51Z9BTYmBD5k+lyir ttvw== X-Gm-Message-State: AOJu0YwItElhrqveWKE+EAmWQ/EqTOdQcQwdlwwycWpnIzoEtyyYnAQp EdwVBlxL7XhoVxyTYKfu2+K/8ki2aYYVRyUijxi3LDXwEkebl1Va8drEuqId/mk= X-Received: by 2002:a05:6512:707:b0:511:3622:508e with SMTP id b7-20020a056512070700b005113622508emr1363443lfs.62.1706888500980; Fri, 02 Feb 2024 07:41:40 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCVkuv4Il9EedgVLpQq/ZhdclgzdmtTwnPPSDBsrgSnZo+gjyW9AHgkjtA+/h21aEJrXSM0g1Sj80CLaSu1E5KvA4lvxLsn460edSq0v+V53kBD0D+qR7Aup78/Hhj+2CZqq04PyCdookc7Mqu53p6Ef0iliIChxx/NYodMp70e3QHW5z1l8YYdk4MXG24+VwQYHaTIXy4N4QFMbI0A70BnG2aDH07mIL9KD0FGVXoKP4oyTC690lDHVbZXfeGriepHqBiaYDn43d1ynKeutgJROqaBopUTFKb6d+jurU5MSKqJvhnAF Received: from krzk-bin.. ([178.197.222.62]) by smtp.gmail.com with ESMTPSA id cu9-20020a170906ba8900b00a37116e2885sm624819ejd.84.2024.02.02.07.41.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 07:41:40 -0800 (PST) From: Krzysztof Kozlowski To: Srinivas Kandagatla , Banajit Goswami , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/3] ASoC: codecs: tx-macro: Mark AMIC control registers as volatile Date: Fri, 2 Feb 2024 16:41:33 +0100 Message-Id: <20240202154134.66967-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240202154134.66967-1-krzysztof.kozlowski@linaro.org> References: <20240202154134.66967-1-krzysztof.kozlowski@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789802366084810139 X-GMAIL-MSGID: 1789802366084810139 Just like DMIC, the AMIC control registers are volatile. Signed-off-by: Krzysztof Kozlowski --- sound/soc/codecs/lpass-tx-macro.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/codecs/lpass-tx-macro.c b/sound/soc/codecs/lpass-tx-macro.c index cdceccf64ac8..2d4f6c04332b 100644 --- a/sound/soc/codecs/lpass-tx-macro.c +++ b/sound/soc/codecs/lpass-tx-macro.c @@ -432,6 +432,8 @@ static bool tx_is_volatile_register(struct device *dev, unsigned int reg) case CDC_TX_TOP_CSR_SWR_DMIC1_CTL: case CDC_TX_TOP_CSR_SWR_DMIC2_CTL: case CDC_TX_TOP_CSR_SWR_DMIC3_CTL: + case CDC_TX_TOP_CSR_SWR_AMIC0_CTL: + case CDC_TX_TOP_CSR_SWR_AMIC1_CTL: return true; } return false;