ASoC: omap-mcbsp 192000 freq
Hi
I'm working on having pcm1792a and omap platform. Right now I have already sent and rfc for the codec and I have a local build that change this file too to support 192000. What I don't understand is the meaning of:
.period_bytes_min = 32,
What is the relation between fifo_size and period_bytes_min? because at this frequency 32 bytes are not so much and the fifo of the port are >= 512 bytes. Is it possible to increase the period_bytes_min without violating the hw constraints?
Michael
.period_bytes_max = 64 * 1024, .periods_min = 2, .periods_max = 255, .buffer_bytes_max = 128 * 1024,
Quoted 1 line
From
f1e6fcfd81e6642ba5695c848ac6aa729e7467aaMon Sep 17 00:00:00 2001
From: Michael Trimarchi <[email protected]>
Date: Mon, 5 Aug 2013 12:26:35 +0200
Subject: [PATCH] OMAP MCBSP can support 192000 frame rate.
Signed-off-by Michael Trimarchi <[email protected]>
--- sound/soc/omap/omap-mcbsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/omap/omap-mcbsp.c +1 -1
@@ -39,7 +39,7 @@#include "mcbsp.h" #include "omap-mcbsp.h" -#define OMAP_MCBSP_RATES (SNDRV_PCM_RATE_8000_96000) +#define OMAP_MCBSP_RATES (SNDRV_PCM_RATE_8000_192000)#define OMAP_MCBSP_SOC_SINGLE_S16_EXT (xname, xmin, xmax, \ xhandler_get, xhandler_put) \
Signature · 1 line
1.7.9.5