[alsa-devel] [PATCH 2/3] ASoC: support all possible sample rates in the WM8776 driver

Liam Girdwood lrg at ti.com
Wed Sep 14 14:36:04 CEST 2011


On Tue, 2011-09-13 at 12:59 -0500, Timur Tabi wrote:
> ASoC codec drivers can use the .set_sysclk function to dynamically specify
> the list of support sample rates, because that list is often based on
> the input clock frequency.  Although the WM8776 includes a .set_sysclk
> function, it was also hard-coding the supported sample rates to a list
> that depends on a specific input clock frequency.
> 
> So change the hard-coded list to a range within the capabilities of the
> WM8776 itself, and let wm8776_set_sysclk() do its job.
> 
> Signed-off-by: Timur Tabi <timur at freescale.com>
> ---

Acked-by: Liam Girdwood <lrg at ti.com>



More information about the Alsa-devel mailing list