Received: by 10.223.164.221 with SMTP id h29csp1982274wrb; Thu, 2 Nov 2017 04:08:42 -0700 (PDT) X-Google-Smtp-Source: ABhQp+TI7GCvJ1waV0uW1u8mkwKsj0fnKP1EK1r5Ax6jX8hrOijOMCRtU3GPX0NbuJu+T1m5HeBj X-Received: by 10.98.63.213 with SMTP id z82mr3432879pfj.10.1509620922445; Thu, 02 Nov 2017 04:08:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509620922; cv=none; d=google.com; s=arc-20160816; b=cOfPAtpUH0rOc5r7oU4gqebRwApfDlfuobjXr4t/Wg055M8Hqdt0S9TqJqBN9oqGI7 vY2Y51F9yM/gRVxjbZE+SPhNi4YJWAdpsxl42KnOK1Qw22GMFZ++Bey8x7p++cFx7SHS Y9IDwBTUHXE8nmvlG2+8uAFpddCzE/AgDvbG9ajZxcKc5fqbUAxlnhvaO6/jC+YC5/P6 E28OXlDE8DTEbTdJFkvSqKa9pnNgLkCula8iYOabhVhcIPAB1TxkHsnu11puVgHZuCkr V4K0qEEZgQ7MkCW36+cE7Vhv6naA68ajrZK8JICQ1iZDmgD0q9mM1rGAzHiv7rmYTrtP WhWQ== 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:arc-authentication-results; bh=v2Moew5mzsvx6HWeZ/myjJtaFwbWp+3tOvm5fQLMo9I=; b=N9HzuG9LRRrte6K0UnEZZzUzEkQDotOhty/097jVvaGFSw0Ycw8N9BTqKthFKd0lEK yB/wCwBnSE56GSkGdwAHNBfBs4OYS40sIi/vfu6ScZMjGiIIMqpCy5CJ1P6rWFYpVSzi dhyZ12E5n3bNcOiZT099dfe2Ou1sjKKQ+PNUPdGyamDhjvSW2eQwEfE15/I2f4q3kDEo vlghrv0NFOA1+R0myRsckyxkHiKFhrH3LfOgbYMahjJMj7kQNQnrFrU0NIO5pnsjemX0 cbaym5Pb+Uvempbe/A1okEF6jvfidkToGGNDaRkK/QsH+Oj6kz6aC/K1zWkCsFBpoRXD dXrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=WIg0I4mQ; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i1si2113022plt.238.2017.11.02.04.08.27; Thu, 02 Nov 2017 04:08:42 -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=WIg0I4mQ; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933304AbdKBLHy (ORCPT + 99 others); Thu, 2 Nov 2017 07:07:54 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:57260 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752792AbdKBLHx (ORCPT ); Thu, 2 Nov 2017 07:07:53 -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=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 Cc: Olivier Moysan , 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, robh@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel@stlinux.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: 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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"); -- 2.15.0 From 1582953526146395413@xxx Thu Nov 02 11:28:41 +0000 2017 X-GM-THRID: 1582953526146395413 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread