From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Keepax Subject: Re: [PATCH] ASoC: codecs: use SNDRV_PCM_FMTBIT_* for format bitmask Date: Mon, 25 May 2015 09:49:45 +0100 Message-ID: <20150525084945.GC31187@opensource.wolfsonmicro.com> References: <5560AB9D.1010807@maciej.szmigiero.name> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <5560AB9D.1010807@maciej.szmigiero.name> Sender: linux-kernel-owner@vger.kernel.org To: "Maciej S. Szmigiero" Cc: "alsa-devel@alsa-project.org" , linux-kernel , patches@opensource.wolfsonmicro.com, Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Lars-Peter Clausen , Daniel Mack , Wolfram Sang , Matt Reimer List-Id: alsa-devel@alsa-project.org On Sat, May 23, 2015 at 06:32:29PM +0200, Maciej S. Szmigiero wrote: > snd_soc_pcm_stream.formats is a bitmask of SNDRV_PCM_FMTBIT_*, > not of SNDRV_PCM_FORMAT_* (which are sequential integers), > however some of ASoC CODEC drivers use these values instead. > > Found out by sparse on 0-day kernel tester. > > Signed-off-by: Maciej Szmigiero > Acked-by: Charles Keepax Thanks, Charles