Re: [alsa-devel][PATCH 1/4] ASoC: wm8960: codec mclk should be enabled early to avoid jack detect error

2015-06-16 Thread Zidan Wang
On Fri, Jun 12, 2015 at 11:33:49AM +0100, Mark Brown wrote: > On Fri, Jun 12, 2015 at 02:32:33PM +0800, Zidan Wang wrote: > > > I have done some test today, and found that after mclk enable, we should > > delay > > at least 150ms to prepare the jack detect function. So no need to move mclk > > en

Re: [alsa-devel][PATCH 1/4] ASoC: wm8960: codec mclk should be enabled early to avoid jack detect error

2015-06-12 Thread Mark Brown
On Fri, Jun 12, 2015 at 02:32:33PM +0800, Zidan Wang wrote: > I have done some test today, and found that after mclk enable, we should delay > at least 150ms to prepare the jack detect function. So no need to move mclk > enable to startup. No, this makes no sense - jack detection is not related t

Re: [alsa-devel][PATCH 1/4] ASoC: wm8960: codec mclk should be enabled early to avoid jack detect error

2015-06-11 Thread Zidan Wang
On Thu, Jun 11, 2015 at 05:20:28PM +0100, Mark Brown wrote: > On Thu, Jun 11, 2015 at 07:14:33PM +0800, Zidan Wang wrote: > > It will playback from speaker in the first 2 seconds, then switch to > > headphone. Steps to reproduce this issue: > > 1. plug out headphone and playback a wav. > > 2. stop

Re: [alsa-devel][PATCH 1/4] ASoC: wm8960: codec mclk should be enabled early to avoid jack detect error

2015-06-11 Thread Mark Brown
On Thu, Jun 11, 2015 at 07:14:33PM +0800, Zidan Wang wrote: > It will playback from speaker in the first 2 seconds, then switch to > headphone. Steps to reproduce this issue: > 1. plug out headphone and playback a wav. > 2. stop playback and wait for at least 5 seconds, then >plug in headphone

[alsa-devel][PATCH 1/4] ASoC: wm8960: codec mclk should be enabled early to avoid jack detect error

2015-06-11 Thread Zidan Wang
It will playback from speaker in the first 2 seconds, then switch to headphone. Steps to reproduce this issue: 1. plug out headphone and playback a wav. 2. stop playback and wait for at least 5 seconds, then plug in headphone and playback a wav. Signed-off-by: Zidan Wang --- sound/soc/codecs/