Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp1291464imc; Mon, 11 Mar 2019 10:24:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqzt0lmWKfE6TFMRYRzLNXJhqWkvOvBIi7A6nwUaZexxirVhPY4yDlp2UiiOSKFtYG3rIu68 X-Received: by 2002:a65:6489:: with SMTP id e9mr30798272pgv.260.1552325077108; Mon, 11 Mar 2019 10:24:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552325077; cv=none; d=google.com; s=arc-20160816; b=twYop9CS7T8uma3g7dbDX6+dJPHKa1vCmkwgqZgxqXrax5qVx9BXq3FrK9hDCpyt4V nDMB57CNfZ+5t+N2I5ZEoSWYn21bDHFHHQnn+412bM3NOm7XdeUlGQv7+5RUT8JsQvUt jOmdkWmr5MbQuR6zbaDPvqneyUWi4+paAEjm3/EuQJ/qoF3x3tZ9qzKL2dn7rvZAs+CJ VZMv266VMi2JvX+2KIKjlV5hju7uL40MLGPc+7MFqNzDU2ftaFwS86MN5E5OmPdoRQpJ tchWJHFSkFCAk63bQvOdg+BDx8qSujVIsHmdEG9Ug/O2km9FNn2uOgFIELOThdnQ8032 WBCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:in-reply-to:subject:cc:to :from:dkim-signature; bh=4PYsjOHcsmuOtq4dlytNCFy2tEUNoxDVKAMNIWp/UV4=; b=d2hZObxBTkdTTWlPb4RKNNn+XD0OYAWxhEs3OWWg5Fv1aI88KIEagn3JvP/3+L30TV HgYecLqexW8W0+eJowzz6MOvLK+xLsbj0ytcSYmy14bwGtgWijYzGkm0hukfar+rsf/X Qata9UYpZEvgqYsAmHOJ94099bzxlNgtkb7nUWSOBEJgPA4Gut5bxIjwfhtAqa98OkMC xLmLNQTaZV1lF30JpXiVAGlHuZDXJWRopZThRwC5X+cVGJZIG4AkYyYERO/2ss4qXuEU RwSnuMp9TahUjaHDlx18s+W3/ibPtnz3l8lo/vDfdRDTSk4L2Dbj7ZUMM8+At+dhK7LH MDCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=tZ5rRIbx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z18si5317216pgf.66.2019.03.11.10.24.21; Mon, 11 Mar 2019 10:24:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=tZ5rRIbx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728024AbfCKRXm (ORCPT + 99 others); Mon, 11 Mar 2019 13:23:42 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:49818 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727987AbfCKRXk (ORCPT ); Mon, 11 Mar 2019 13:23:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=4PYsjOHcsmuOtq4dlytNCFy2tEUNoxDVKAMNIWp/UV4=; b=tZ5rRIbxUzF/ w50nOzPP5IerzBzASF8HU5YBHfuf7sfWl3bVLWtrZPyAs/SjSRLw9gvBPZkWxgBKuDV6Tr+bf5HZZ gncD7rTiH+xxlz/L8qZfV4bsr8UCEGotibSyOjLMDC76f64wdXq04fzhKOCqNDKNzqJy7z1djBWBN o1awI=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1h3Oe5-0005L3-8t; Mon, 11 Mar 2019 17:23:25 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id D3A4A1128897; Mon, 11 Mar 2019 17:23:24 +0000 (GMT) From: Mark Brown To: Olivier Moysan Cc: Mark Brown , lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, mcoquelin.stm32@gmail.com, alexandre.torgue@st.com, alsa-devel@alsa-project.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-kernel@vger.kernel.org, olivier.moysan@st.com, arnaud.pouliquen@st.com, benjamin.gaignard@st.com, alsa-devel@alsa-project.org Subject: Applied "ASoC: stm32: i2s: fix registers declaration in regmap" to the asoc tree In-Reply-To: <1552318768-25404-1-git-send-email-olivier.moysan@st.com> X-Patchwork-Hint: ignore Message-Id: <20190311172324.D3A4A1128897@debutante.sirena.org.uk> Date: Mon, 11 Mar 2019 17:23:24 +0000 (GMT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch ASoC: stm32: i2s: fix registers declaration in regmap has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark From a39fe6e2061615496c12825d6d249fedf1974f8a Mon Sep 17 00:00:00 2001 From: Olivier Moysan Date: Mon, 11 Mar 2019 16:39:28 +0100 Subject: [PATCH] ASoC: stm32: i2s: fix registers declaration in regmap - Declare SR as volatile, as it is changed by hardware. - Remove TXDR from readable and volatile register list, as it is intended for write accesses only. Signed-off-by: Olivier Moysan Signed-off-by: Mark Brown --- sound/soc/stm/stm32_i2s.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sound/soc/stm/stm32_i2s.c b/sound/soc/stm/stm32_i2s.c index 47c334de6b09..8968458eec62 100644 --- a/sound/soc/stm/stm32_i2s.c +++ b/sound/soc/stm/stm32_i2s.c @@ -281,7 +281,6 @@ static bool stm32_i2s_readable_reg(struct device *dev, unsigned int reg) case STM32_I2S_CFG2_REG: case STM32_I2S_IER_REG: case STM32_I2S_SR_REG: - case STM32_I2S_TXDR_REG: case STM32_I2S_RXDR_REG: case STM32_I2S_CGFR_REG: return true; @@ -293,7 +292,7 @@ static bool stm32_i2s_readable_reg(struct device *dev, unsigned int reg) static bool stm32_i2s_volatile_reg(struct device *dev, unsigned int reg) { switch (reg) { - case STM32_I2S_TXDR_REG: + case STM32_I2S_SR_REG: case STM32_I2S_RXDR_REG: return true; default: -- 2.20.1