[alsa-devel] [PATCH 3/5] ALSA: ASoC: McASP: add support for 24 bit samples

Mark Brown broonie at opensource.wolfsonmicro.com
Tue Oct 9 09:17:57 CEST 2012


On Thu, Oct 04, 2012 at 03:08:40PM +0200, Daniel Mack wrote:

> +	case SNDRV_PCM_FORMAT_U24_3LE:
> +	case SNDRV_PCM_FORMAT_S24_3LE:
> +	case SNDRV_PCM_FORMAT_U24_LE:
> +	case SNDRV_PCM_FORMAT_S24_LE:
> +		dma_params->data_type = 3;
> +		word_length = DAVINCI_AUDIO_WORD_24;
> +		break;
> +

This is fine but should be adding the format to the set of supported
formats in the DAI as well, otherwise userspace should never select 24
bits.


More information about the Alsa-devel mailing list