Re: [alsa-devel] [PATCH v2 1/3] ASoC: zx: Add ZTE zx296702 pcm support
22 May
2015
22 May
'15
2:07 p.m.
On Wed, May 06, 2015 at 08:38:03PM +0800, Jun Nie wrote:
+static const struct snd_pcm_hardware snd_zx_hardware = {
- .info = SNDRV_PCM_INFO_MMAP |
SNDRV_PCM_INFO_MMAP_VALID |
SNDRV_PCM_INFO_INTERLEAVED |
SNDRV_PCM_INFO_PAUSE |
SNDRV_PCM_INFO_RESUME |
SNDRV_PCM_INFO_NO_PERIOD_WAKEUP,
- .period_bytes_min = 32,
- .period_bytes_max = 16 * 1024,
- .periods_min = 2,
- .periods_max = 32,
- .buffer_bytes_max = 64 * 1024,
+};
As I said last time I'm not sure why you are manually defining these - the capabilities of the DMA controller should be being enumerated from the DMA controller driver. See dmaengine_pcm_set_runtime_hwparams().
3503
Age (days ago)
3503
Last active (days ago)
0 comments
1 participants
participants (1)
-
Mark Brown