From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3ymv6038WvzDrbG for ; Wed, 29 Nov 2017 19:36:55 +1100 (AEDT) Date: Wed, 29 Nov 2017 09:36:50 +0100 Message-ID: From: Takashi Iwai To: " Maciej S. Szmigiero " Cc: "Nicolin Chen" , "Xiubo Li" , "Jaroslav Kysela" , "Timur Tabi" , , "Liam Girdwood" , "Mark Brown" , , "Fabio Estevam" , "Takashi Sakamoto" , "linux-kernel" Subject: Re: [PATCH v4 1/2] ALSA: pcm: add SNDRV_PCM_FORMAT_{S,U}20 In-Reply-To: <3a279ea2-8098-d5a4-a53e-b0e3585fa9bf@maciej.szmigiero.name> References: <3a279ea2-8098-d5a4-a53e-b0e3585fa9bf@maciej.szmigiero.name> MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, 27 Nov 2017 23:33:29 +0100, Maciej S. Szmigiero wrote: > > This format is similar to existing SNDRV_PCM_FORMAT_{S,U}20_3 that keep > 20-bit PCM samples in 3 bytes, however i.MX6 platform SSI FIFO does not > allow 3-byte accesses (including DMA) so a 4-byte (more conventional) > format is needed for it. > > Signed-off-by: Maciej S. Szmigiero > --- > Changes from v1: Drop "_4" suffix from these formats since they aren't > non-standard ones, use empty format slots starting from format number 25 > for them, add information that they are LSB justified formats. > > Changes from v2: Adapt a comment in sound/core/pcm_misc.c so it still > refers to the same sample formats as before. > > Changes from v3: Make the comment style in include/uapi/sound/asound.h > match the style of comments at other sample formats. > > Corresponding alsa-lib changes will be posted as soon as this patch is > merged on the kernel side, to keep alsa-lib and kernel synchronized. Applied to topic/pcm-20bit, also included in for-next. Mark, please pull topic/pcm-20bit branch if you need to apply fsl_ssi patch into your tree. thanks, Takashi