From: Takashi Iwai Subject: Re: [PATCH] ALSA: hda: Retry codec read on first time failure Date: Wed, 14 Aug 2019 08:27:49 +0200 Message-ID: References: <20190813110307.5898-1-vani.ganji@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 mx1.suse.de (mx2.suse.de [195.135.220.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id A02BFF801DF for ; Wed, 14 Aug 2019 08:27:51 +0200 (CEST) In-Reply-To: <20190813110307.5898-1-vani.ganji@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" To: vani.ganji@intel.com Cc: alsa-devel@alsa-project.org, pierre-louis.bossart@linux.intel.com List-Id: alsa-devel@alsa-project.org On Tue, 13 Aug 2019 13:03:07 +0200, vani.ganji@intel.com wrote: > > From: Vani Ganji > > Sometimes HDMI audio fails while fast switching > between HDMI and Speaker due to codec Get Power state verb read failure. > > Verb is codec driver to access codec HW. Since issue scenario involves > fast switching between HDMI and speaker, there might be chance to fail > read from HW and same happened in the error scenario. > > Based on Display/Graphics architect suggestion, added a retry mechanism > for failure on first attempt. > > Signed-off-by: Vani Ganji Does this still happen with the latest 5.3-rc kernel? The recent fix to add the write-sync for Intel platforms should already cover this kind of errors. thanks, Takashi