From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Hofman Subject: Re: ESI Juli@ crash with external clock switch - patch Date: Wed, 28 Jan 2015 21:51:14 +0100 Message-ID: <54C94BC2.9000002@ivitera.com> References: <54B28174.7060008@ivitera.com> <54B2B992.7000909@ivitera.com> <54B2E48B.7020000@ivitera.com> <54B3872C.2010501@ivitera.com> <54B82E02.3080008@ivitera.com> <54B9763A.8030405@ivitera.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from cable.insite.cz (static-84-242-75-189.net.upcbroadband.cz [84.242.75.189]) by alsa0.perex.cz (Postfix) with ESMTP id 1B8EE2614D3 for ; Wed, 28 Jan 2015 21:51:27 +0100 (CET) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Takashi Iwai Cc: alsa-devel List-Id: alsa-devel@alsa-project.org Dne 16.1.2015 v 21:39 Takashi Iwai napsal(a): > At Fri, 16 Jan 2015 21:36:10 +0100, > Pavel Hofman wrote: >> >> Dne 16.1.2015 v 18:13 Takashi Iwai napsal(a): >>> OK, I'm going to send a fix series including the relevant correction. >>> Give it a try later. >> >> Thanks a lot for the patches, the external rate switching on Juli now >> works perfectly (not tested on Quartet yet). One can tell you are >> seasoned in kernel development, I would get lost in the synchronization >> and workqueue facilities. >> >>>> I am not sure users would want/need to disable a feature which detects >>>> incoming samplerate. IMO if the work thread is running only in the >>>> external clock mode, nothing more is needed. >>> >>> Hm, but you can still see the other attributes of SPDIF input frames, >>> right? Or all these useless when the clock is set to internal? >>> If so, it'd be easy to add the dynamic turn on/off per the clock >>> mode. >> >> You are right, that would disable update of other controls informing >> about incoming SPDIF details. These are useful in internal clock mode >> too - if the soundcard is master for the spdif chain. A new control >> would make sense then. > > Alright. > >> I am leaving for a week, then I will test quartet and the PM features. > > There should be no change regarding quartet, also about PM. > The patches doesn't add the PM support to quartet, but rather > robustify only the PM of Juli@ (and ak4113/4114 codec side support). > > In anyway, I'm going to merge them once when you confirm them > working. I confirm the patches are working both for Juli and Quartet. Juli tested also for pm-suspend, working fine after resume. Thanks a lot, Pavel.