7 Dec
2010
7 Dec
'10
2:26 p.m.
On Mon, Dec 06, 2010 at 06:18:02PM -0600, Olaya, Margarita wrote:
The twl6040 can support more sample rates other than 88.2 and 96k.
Signed-off-by: Margarita Olaya Cabrera magi.olaya@ti.com
Acked-by: Mark Brown broonie@opensource.wolfsonmicro.com
rate = params_rate(params); switch (rate) {
- case 11250:
- case 22500:
- case 44100: case 88200: lppllctl |= TWL6040_LPLLFIN; priv->sysclk = 17640000; break;
- case 8000:
- case 16000:
- case 32000:
- case 48000: case 96000: lppllctl &= ~TWL6040_LPLLFIN; priv->sysclk = 19200000;
I'd expect to see more code for this unless the CODEC is always running as clock slave?