From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 45F54ECAAA1 for ; Thu, 27 Oct 2022 13:32:39 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 870FF2EA6; Thu, 27 Oct 2022 15:31:47 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 870FF2EA6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1666877557; bh=FpHfTeNGvyS4+Fei3Pvf0NDMN/6zJzLRJSx1xuGG81o=; h=Date:From:To:Subject:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=hnDi9Egkifw+6cpyR0pY2wDWtQF7bQdjSBJhsGz2ZeJfmwOqlmA6JZVLRHwTlsQyW j/lK7H5jcGJLCUTuB2tUcNsNdNVPXrASb/13CHW/0QF8N4oSiqm2IZjWwsGdMlxV1W BOhvXL7SZ33gWnGyO6JqQaVM2nu9x6sOA5f3bzBU= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 22F68F8025A; Thu, 27 Oct 2022 15:31:47 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id B6AF6F8025E; Thu, 27 Oct 2022 15:31:45 +0200 (CEST) Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 8A5F9F8016C for ; Thu, 27 Oct 2022 15:31:42 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 8A5F9F8016C Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="TAn9Idc7"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="E+dpR0jw" Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 6FD8721ADC; Thu, 27 Oct 2022 13:31:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1666877502; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Y0JP32zW/xK5/aQDeuJEoW5zFv2LMSLGpnPl8rg8GHY=; b=TAn9Idc7BigZ6txfZVlxQqKGK24rj3IcaGpcijjDU3Voi0UiAJ6Eopys6ZNe14+7fg3tKZ tAjtFcWqo3Rvnz/HMQ/uqpVgsRFyjqM+SrtuzeCi1bM8GmFFCBU4zfbBkGaDSDiYx/8MT3 PcxRV8yUFgpaWVg0WDxxZuJcM1wtq6o= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1666877502; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Y0JP32zW/xK5/aQDeuJEoW5zFv2LMSLGpnPl8rg8GHY=; b=E+dpR0jw1F0nZgijLN3W6LorKzJFN77uWdNbyXZ5n6Z76uY18Vi3POIvTs8e6XMhVXwriA pcqBGEl1UKbME2Bw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 3854E134CA; Thu, 27 Oct 2022 13:31:42 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id /oC8DD6IWmOGbgAAMHmgww (envelope-from ); Thu, 27 Oct 2022 13:31:42 +0000 Date: Thu, 27 Oct 2022 15:31:41 +0200 Message-ID: <87sfj9mlz6.wl-tiwai@suse.de> From: Takashi Iwai To: Cezary Rojewski Subject: Re: [PATCH v4 3/9] ALSA: hda: Introduce snd_hdac_stream_wait_drsm() In-Reply-To: <20221027124702.1761002-4-cezary.rojewski@intel.com> References: <20221027124702.1761002-1-cezary.rojewski@intel.com> <20221027124702.1761002-4-cezary.rojewski@intel.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Cc: alsa-devel@alsa-project.org, pierre-louis.bossart@linux.intel.com, tiwai@suse.com, hdegoede@redhat.com, broonie@kernel.org, amadeuszx.slawinski@linux.intel.com X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Thu, 27 Oct 2022 14:46:56 +0200, Cezary Rojewski wrote: > > Allow for waiting for DRSM bit for specified stream to be cleared from > HDAudio library level. Drivers may utilize this optional step during the > stream resume procedure. > > Suggested-by: Pierre-Louis Bossart > Signed-off-by: Cezary Rojewski > --- > > Changes in v4: > - replaced readb_poll_timeout() with read_poll_timeout() for the DRSM > polling function as the register is u32 wide, not u8 Reviewed-by: Takashi Iwai thanks, Takashi