From patchwork Thu Nov 2 11:05:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 10038569 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D88BF603B5 for ; Thu, 2 Nov 2017 11:40:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C733328ED4 for ; Thu, 2 Nov 2017 11:40:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B83F528EE0; Thu, 2 Nov 2017 11:40:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4082628ED4 for ; Thu, 2 Nov 2017 11:40:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Date:Message-Id: In-Reply-To:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: References:List-Owner; bh=PpNllYsNDykBMkizUPcHbq3HCq5+LAD/mUFKw9uzs6o=; b=I42 Zh2rWEEPo9O7nvwbYr2L/oBOfLCLO4sSe27WxgU5PpwJHRtwVAJc604Bkmg1b3L/bbybqteKAEzh1 rbOVNXwB/zfEbwYpFC/IUMgwO1dO2t0vrtq3NXVeVCup3YtGLCWWGk0YR7uSpBdfaqXrK4qeQzLaB VzsX1dea+YrA6NTPhtyOtDKlSaFz/Xn34YR5BDzzwal+4pd2Kpu+GIIksooosTglDHRT9xkkHFckx lEdnebNyZK0xKm9zRX4u1TVzvr4GCjd/0iCwhWrts/iVLxcoPhJOoK193RQPk03BNnCZLXikU/l21 qCDIq8mHUxEPxRc8MO56M40DGAI5khw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eADqq-0005JI-0x; Thu, 02 Nov 2017 11:40:00 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eADqo-0004Mq-76 for linux-arm-kernel@bombadil.infradead.org; Thu, 02 Nov 2017 11:39:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; 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=v2Moew5mzsvx6HWeZ/myjJtaFwbWp+3tOvm5fQLMo9I=; b=OSNFkyzWxJ8Z82o1pDQjsRMThT GqqffsTNwKAC5Y4iDBr2DWT4eL3NIdEAzBFzL/qTYHoybIAl5Dja3kkrA9iq9eLpHTM+80Uuiud9i otY03kH+OHZ4tx/ARQvirsFb9h+QhbCJVb1J2yJWy4Xj1sEv6bKNTUg+0fJhhWOEY89IfPRzkSe9I mRScQauiB1NF5zb04oNw0OCHET45ROKT3x0S6CaG4KfhVju7exa/AcvCmrIXuZ9hBWgBgw6wjaJcq VycfGTsyluPziY+m43p2mJg512JNkgRfwER6wEgcaYODPfuuO7ORsiyH9GUkgiX+wPQw9OFt2tpKn B90T6xvw==; Received: from heliosphere.sirena.org.uk ([2a01:7e01::f03c:91ff:fed4:a3b6]) by casper.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eADLh-0002aY-IH for linux-arm-kernel@lists.infradead.org; Thu, 02 Nov 2017 11:07:51 +0000 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=v2Moew5mzsvx6HWeZ/myjJtaFwbWp+3tOvm5fQLMo9I=; b=WIg0I4mQAd4G pQNMckCPiiUejIfHo7669h9x6JnG+T3kdKBjumEj+H9nTCnvRBP7JpkTXHYWMeVpCxH5UTr3qzsAY pFvYPGaO5JiWTNP1TLIxOZyCf4nzY0iTapAVDu5lYDtZCvlpJw+0GffbF19djNmlHkRjwtRCv1Wqp oJs30=; Received: from debutante.sirena.org.uk ([2001:470:1f1d:6b5::3] helo=debutante) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1eADJs-0006UJ-63; Thu, 02 Nov 2017 11:05:56 +0000 Received: from broonie by debutante with local (Exim 4.89) (envelope-from ) id 1eADJr-0002Cr-9J; Thu, 02 Nov 2017 11:05:55 +0000 From: Mark Brown To: olivier moysan Subject: Applied "ASoC: stm32: sai: fix warning in stm32_sai_set_config()" to the asoc tree In-Reply-To: <1509618009-30804-1-git-send-email-olivier.moysan@st.com> Message-Id: Date: Thu, 02 Nov 2017 11:05:55 +0000 X-Bad-Reply: In-Reply-To but no 'Re:' in Subject. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171102_110749_625207_431F4E99 X-CRM114-Status: GOOD ( 16.38 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, robh@kernel.org, alsa-devel@alsa-project.org, olivier.moysan@st.com, alexandre.torgue@st.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, arnaud.pouliquen@st.com, tiwai@suse.com, lgirdwood@gmail.com, broonie@kernel.org, mcoquelin.stm32@gmail.com, benjamin.gaignard@st.com, perex@perex.cz, linux-arm-kernel@lists.infradead.org, kernel@stlinux.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The patch ASoC: stm32: sai: fix warning in stm32_sai_set_config() 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 7e751e375ae7218f8b49f0b47e855cf9bbbdbcf9 Mon Sep 17 00:00:00 2001 From: olivier moysan Date: Thu, 2 Nov 2017 11:20:09 +0100 Subject: [PATCH] ASoC: stm32: sai: fix warning in stm32_sai_set_config() Fix uninitialized warning introduced by "Move static settings to DAI init" commit in stm32_sai_set_config() function. Signed-off-by: Olivier Moysan Signed-off-by: Mark Brown --- sound/soc/stm/stm32_sai_sub.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sound/soc/stm/stm32_sai_sub.c b/sound/soc/stm/stm32_sai_sub.c index 150ad546d8b9..08583b958430 100644 --- a/sound/soc/stm/stm32_sai_sub.c +++ b/sound/soc/stm/stm32_sai_sub.c @@ -482,13 +482,13 @@ static int stm32_sai_set_config(struct snd_soc_dai *cpu_dai, cr1_mask = SAI_XCR1_DS_MASK; switch (params_format(params)) { case SNDRV_PCM_FORMAT_S8: - cr1 |= SAI_XCR1_DS_SET(SAI_DATASIZE_8); + cr1 = SAI_XCR1_DS_SET(SAI_DATASIZE_8); break; case SNDRV_PCM_FORMAT_S16_LE: - cr1 |= SAI_XCR1_DS_SET(SAI_DATASIZE_16); + cr1 = SAI_XCR1_DS_SET(SAI_DATASIZE_16); break; case SNDRV_PCM_FORMAT_S32_LE: - cr1 |= SAI_XCR1_DS_SET(SAI_DATASIZE_32); + cr1 = SAI_XCR1_DS_SET(SAI_DATASIZE_32); break; default: dev_err(cpu_dai->dev, "Data format not supported");