
14 Sep
2011
14 Sep
'11
3:36 p.m.
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@freescale.com
Acked-by: Liam Girdwood lrg@ti.com