Re: [alsa-devel][PATCH] ASoC: wm8960: update pll and clock setting function

2015-07-01 Thread Charles Keepax
On Wed, Jul 01, 2015 at 04:07:25PM +0800, Zidan Wang wrote: > On Tue, Jun 30, 2015 at 11:42:00AM +0100, Charles Keepax wrote: > > On Tue, Jun 30, 2015 at 04:54:09PM +0800, Zidan Wang wrote: > > > On Mon, Jun 29, 2015 at 10:44:12AM +0100, Charles Keepax wrote: > > > > On Fri, Jun 26, 2015 at 07:09:2

Re: [alsa-devel][PATCH] ASoC: wm8960: update pll and clock setting function

2015-07-01 Thread Zidan Wang
On Tue, Jun 30, 2015 at 11:42:00AM +0100, Charles Keepax wrote: > On Tue, Jun 30, 2015 at 04:54:09PM +0800, Zidan Wang wrote: > > On Mon, Jun 29, 2015 at 10:44:12AM +0100, Charles Keepax wrote: > > > On Fri, Jun 26, 2015 at 07:09:22PM +0800, Zidan Wang wrote: > > > > When using snd_soc_dai_set_pll

Re: [alsa-devel][PATCH] ASoC: wm8960: update pll and clock setting function

2015-06-30 Thread Charles Keepax
On Tue, Jun 30, 2015 at 04:54:09PM +0800, Zidan Wang wrote: > On Mon, Jun 29, 2015 at 10:44:12AM +0100, Charles Keepax wrote: > > On Fri, Jun 26, 2015 at 07:09:22PM +0800, Zidan Wang wrote: > > > When using snd_soc_dai_set_pll to set pll in machine driver, we > > > should set pll in and pll out fre

Re: [alsa-devel][PATCH] ASoC: wm8960: update pll and clock setting function

2015-06-30 Thread Zidan Wang
On Mon, Jun 29, 2015 at 10:44:12AM +0100, Charles Keepax wrote: > On Fri, Jun 26, 2015 at 07:09:22PM +0800, Zidan Wang wrote: > > When using snd_soc_dai_set_pll to set pll in machine driver, we > > should set pll in and pll out freq and ensure 5 < PLLN < 13, > > otherwise set pll will be failed. In

Re: [alsa-devel][PATCH] ASoC: wm8960: update pll and clock setting function

2015-06-29 Thread Charles Keepax
On Fri, Jun 26, 2015 at 07:09:22PM +0800, Zidan Wang wrote: > When using snd_soc_dai_set_pll to set pll in machine driver, we > should set pll in and pll out freq and ensure 5 < PLLN < 13, > otherwise set pll will be failed. In order to support more > formats and sample rates for a certain MCLK, if

[alsa-devel][PATCH] ASoC: wm8960: update pll and clock setting function

2015-06-26 Thread Zidan Wang
When using snd_soc_dai_set_pll to set pll in machine driver, we should set pll in and pll out freq and ensure 5 < PLLN < 13, otherwise set pll will be failed. In order to support more formats and sample rates for a certain MCLK, if snd_soc_dai_set_pll failed, it will calculate a available pll out f