RE: [PATCHv1 1/8] ALSA: Add SAI SoC Digital Audio Interface driver.
From: Xiubo Li-B47053 <hidden>
Date: 2013-10-29 04:00:57
Also in:
alsa-devel, linux-arm-kernel, linux-devicetree
From: Xiubo Li-B47053 <hidden>
Date: 2013-10-29 04:00:57
Also in:
alsa-devel, linux-arm-kernel, linux-devicetree
quoted
+static struct snd_pcm_hardware snd_fsl_hardware =3D { + .info =3D SNDRV_PCM_INFO_INTERLEAVED | + SNDRV_PCM_INFO_BLOCK_TRANSFER | + SNDRV_PCM_INFO_MMAP | + SNDRV_PCM_INFO_MMAP_VALID | + SNDRV_PCM_INFO_PAUSE | + SNDRV_PCM_INFO_RESUME, + .formats =3D SNDRV_PCM_FMTBIT_S16_LE, + .rate_min =3D 8000, + .channels_min =3D 2, + .channels_max =3D 2, + .buffer_bytes_max =3D FSL_SAI_DMABUF_SIZE, + .period_bytes_min =3D 4096, + .period_bytes_max =3D FSL_SAI_DMABUF_SIZE / TCD_NUMBER, + .periods_min =3D TCD_NUMBER, + .periods_max =3D TCD_NUMBER, + .fifo_size =3D 0, +};=20 There's a patch in -next that lets the generic dmaengine code figure out some settings from the dmacontroller rather than requiring the driver to explicitly provide configuration - it's "ASoC: dmaengine-pcm: Provide default config". Please update your driver to use this, or let's work out what it doesn't do any try to fix it. =20
I couldn't find the patch in the next and other trees. Does this patch has been submitted to the -next tree ? Or could you tell me how to find the patch please? Thanks very much.