• Daniel Mack's avatar
    ASoC: support more sample rates on raumfeld devices · a4212968
    Daniel Mack authored
    Add support for sample rates other than 44100Khz on raumfeld audio
    devices. At startup time, call snd_soc_dai_set_sysclk() with 0 as 'freq'
    argument so it offers all the sample rates. Later, the function is
    called again to give proper constraints.
    
    Use the external audio clock generator to provide double data rate
    clocks as the PXA's internal baud generator does anything but what's
    described in the datasheets.
    Signed-off-by: default avatarDaniel Mack <daniel@caiaq.de>
    Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
    Cc: Timur Tabi <timur@freescale.com>
    Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
    a4212968
raumfeld.c 8.49 KB