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 X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 235E4C433DF for ; Mon, 29 Jun 2020 21:41:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DE85E20656 for ; Mon, 29 Jun 2020 21:41:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1593466864; bh=F9yc76dllBQnO/0SNt01rAhctcmIbR2BvDh67iPOI7Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=ffMZWn8/b47ZfwgZPgUHmOWaaxFqYfXzFyZ2+zG+1yhlxmIajZd1s+Qi7N2+1W2LH slBQwxAivCeKYLcLSJlubhpQi3wXTXicucZDzGmEqm7cYpQyAUgheZ5i7xIic5iR9F 8Dwb9QDL4g2uqTabU6YKxmNsIHNUjPKbV9YAphak= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2403858AbgF2VlC (ORCPT ); Mon, 29 Jun 2020 17:41:02 -0400 Received: from mail.kernel.org ([198.145.29.99]:60594 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728213AbgF2SkV (ORCPT ); Mon, 29 Jun 2020 14:40:21 -0400 Received: from localhost (unknown [122.182.251.219]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9026E239ED; Mon, 29 Jun 2020 10:59:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1593428384; bh=F9yc76dllBQnO/0SNt01rAhctcmIbR2BvDh67iPOI7Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=u7i4gLoBFJh8FDswEs4uWCnzV8kp5cBaykYs9RrKg54vCoL3/C0EaOFpjx1DrhjfS 4mNJ4glCP/jr3gLNi8kdWFWb1vABqEYXsI71Lc4tw/tmxGVS0uQm2WRHvx/eLCmk1m b/FFCTozE9w12rAUVRu6J6hMGYAE5c8rVRP+XLHc= Date: Mon, 29 Jun 2020 16:29:39 +0530 From: Vinod Koul To: Amadeusz =?utf-8?B?U8WCYXdpxYRza2k=?= Cc: alsa-devel@alsa-project.org, Charles Keepax , linux-kernel@vger.kernel.org, Pierre-Louis Bossart , Takashi Iwai , Srinivas Kandagatla Subject: Re: [PATCH v4 1/3] ALSA: compress: document the compress audio state machine Message-ID: <20200629105939.GK2599@vkoul-mobl> References: <20200629075002.11436-1-vkoul@kernel.org> <20200629075002.11436-2-vkoul@kernel.org> <20200629093429.GA2599@vkoul-mobl> <3a43467a-5432-a3ef-2250-2ac1054539d0@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3a43467a-5432-a3ef-2250-2ac1054539d0@linux.intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 29-06-20, 12:02, Amadeusz Sławiński wrote: > On 6/29/2020 11:34 AM, Vinod Koul wrote: > > > > Not sure, this is not in the version I posted, arrow is from setup -> > > prepare. See > https://lore.kernel.org/alsa-devel/20200629075002.11436-2-vkoul@kernel.org/ > > > > I don't know how it got reversed in your version, maybe the MUA messed > > up?? > > > Ah... I must have edited it myself when preparing edited version, sorry for > noise ;) No worries > > > a compr_write() moves from SETUP -> PREPARE. Fixing that above looks > > better version of mine.. > Yes, I feel it is easier to understand, A redirect confused me for a short > bit when I first looked at graph and it can be easily avoided. Thanks for the suggestion, it was a good one indeed, I will send the update shortly -- ~Vinod 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 X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 76C39C433E0 for ; Mon, 29 Jun 2020 11:00:46 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id F14AB23A03 for ; Mon, 29 Jun 2020 11:00:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="AIwvyEXR"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="u7i4gLoB" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F14AB23A03 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org 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 6B965847; Mon, 29 Jun 2020 12:59:54 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 6B965847 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1593428444; bh=F9yc76dllBQnO/0SNt01rAhctcmIbR2BvDh67iPOI7Q=; h=Date:From:To:Subject:References:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=AIwvyEXRtUKB3uYJ7m4t+ez8gdErfVgVAjKbxuEPNCX2DHFdTfucgni3Craqo0Bc9 N+EauJxDzPHUlsem3uLfp70Nc55tgwOgZ14mDW8+OEyO4fJy576pUx34xAA95nUFdS VTO1qjLrdIkfkfCu3wpQm4KQdI64EUL57/TQyQ3M= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id D7249F801F8; Mon, 29 Jun 2020 12:59:53 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id DAA9BF800EA; Mon, 29 Jun 2020 12:59:49 +0200 (CEST) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 0432CF800EA for ; Mon, 29 Jun 2020 12:59:46 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 0432CF800EA Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="u7i4gLoB" Received: from localhost (unknown [122.182.251.219]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9026E239ED; Mon, 29 Jun 2020 10:59:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1593428384; bh=F9yc76dllBQnO/0SNt01rAhctcmIbR2BvDh67iPOI7Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=u7i4gLoBFJh8FDswEs4uWCnzV8kp5cBaykYs9RrKg54vCoL3/C0EaOFpjx1DrhjfS 4mNJ4glCP/jr3gLNi8kdWFWb1vABqEYXsI71Lc4tw/tmxGVS0uQm2WRHvx/eLCmk1m b/FFCTozE9w12rAUVRu6J6hMGYAE5c8rVRP+XLHc= Date: Mon, 29 Jun 2020 16:29:39 +0530 From: Vinod Koul To: Amadeusz =?utf-8?B?U8WCYXdpxYRza2k=?= Subject: Re: [PATCH v4 1/3] ALSA: compress: document the compress audio state machine Message-ID: <20200629105939.GK2599@vkoul-mobl> References: <20200629075002.11436-1-vkoul@kernel.org> <20200629075002.11436-2-vkoul@kernel.org> <20200629093429.GA2599@vkoul-mobl> <3a43467a-5432-a3ef-2250-2ac1054539d0@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3a43467a-5432-a3ef-2250-2ac1054539d0@linux.intel.com> Cc: Pierre-Louis Bossart , alsa-devel@alsa-project.org, Charles Keepax , Takashi Iwai , linux-kernel@vger.kernel.org, Srinivas Kandagatla 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 29-06-20, 12:02, Amadeusz Sławiński wrote: > On 6/29/2020 11:34 AM, Vinod Koul wrote: > > > > Not sure, this is not in the version I posted, arrow is from setup -> > > prepare. See > https://lore.kernel.org/alsa-devel/20200629075002.11436-2-vkoul@kernel.org/ > > > > I don't know how it got reversed in your version, maybe the MUA messed > > up?? > > > Ah... I must have edited it myself when preparing edited version, sorry for > noise ;) No worries > > > a compr_write() moves from SETUP -> PREPARE. Fixing that above looks > > better version of mine.. > Yes, I feel it is easier to understand, A redirect confused me for a short > bit when I first looked at graph and it can be easily avoided. Thanks for the suggestion, it was a good one indeed, I will send the update shortly -- ~Vinod