From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: [PATCH] ALSA: hda - delay resume haswell hdmi codec in system resume Date: Tue, 02 Apr 2013 11:53:13 +0200 Message-ID: References: <1364321572-2634-1-git-send-email-mengdong.lin@intel.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id D9D6C265146 for ; Tue, 2 Apr 2013 11:53:14 +0200 (CEST) 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: "Lin, Mengdong" Cc: "alsa-devel@alsa-project.org" List-Id: alsa-devel@alsa-project.org At Tue, 26 Mar 2013 07:02:54 +0000, Lin, Mengdong wrote: > > Is it okay to add a new parameter to snd_hda_resume(), to indicate whether codec resume should be delayed or not? > Is because snd_hda_resume() is only only called by azx_resume() but also called by azx_bus_reset(). > The latter can be called on a fatal verb execution failure and codec resume delay is not suitable for this case. Well, I prefer creating a new function (e.g. snd_hda_bus_reset()) called from azx_bus_reset(). Takashi