Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1497803ybi; Wed, 17 Jul 2019 16:33:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqySnEAVP1YPCLXgTEXp9v1z5wml/acaUJzGX4nUe+jTrvyTRrOKh2yg+6po2WW+CND0AkMF X-Received: by 2002:a17:90a:f98a:: with SMTP id cq10mr47367069pjb.43.1563406430868; Wed, 17 Jul 2019 16:33:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563406430; cv=none; d=google.com; s=arc-20160816; b=zWMG3yAoUKEGQIZvoLF3UKjiB2oIJOCtld3gnhtc5VXiEB4JaWFpwatrMi3Dmid0CI EzDKyH6u6/gFq/FNmC2ouwoBEMSbJKWI5ZkkAU2G8gEnBYyzXq9SaOS3Qorb4TQZ/Ty1 Vf4x0f1F7NP9k/NidWJCighqUW2XDTJtkKvysLZXi4LnUW7szCglzGlos4/4d7RHX4UJ OL+aBZfwsJXM0/+Dd413CqBD2Fk6kC3lZNwJ32sNUDeFhL/3OiMZ1MrWvG64znqbK3lB eXIPM9+Gpa7FoIIJs22uDyV4OuaZH4qOJUcBl72Ur63fYoVPpyHufJ4nhLWGLbmFUu2f OQYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=m4SJU6c8qo8AVve1XQSdHGRvP4qTFh+u/3e7u7uNt+g=; b=QH6MB0r9sOm0bYeLn3mwaOlE0go6ox5XQ3U6GzZIpVWSBdp+TrPfTlkvO75qqK8Det Rp+ZYFDMI2K8PgF46O373hTfTzHZN7Evdfv9kDl1Zt5naM+iGsQiNmauky9GrKwCHiqn ZKc3RODS+HNG91C7538wB6XCaB1d/FCmBrkzYqjIGRDXxHT5fn38kTNQsbqX8QapbL9g B4C83ymZ7qYF4jodrpM3kUN76stPZFo3uA61KrdHJTNedIIkUiWdfBCV71rELYr/R8kz /tsd3LvxqRNcL0sVeQAgPNrbXNumdpjEDvjKEq6kyIVaYt2OY0+iLaApQUV06LY25USC TT4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=r01M60NW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p5si3331pfp.64.2019.07.17.16.33.34; Wed, 17 Jul 2019 16:33:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=r01M60NW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729489AbfGQXba (ORCPT + 99 others); Wed, 17 Jul 2019 19:31:30 -0400 Received: from mail.kernel.org ([198.145.29.99]:52036 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727883AbfGQXba (ORCPT ); Wed, 17 Jul 2019 19:31:30 -0400 Received: from localhost (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (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 0BDD520651; Wed, 17 Jul 2019 23:31:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1563406289; bh=8VpnxGStLf8E5O7z0t32FrG8nOd4aZ30LIjDn4eMqCo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=r01M60NWkw8fznxWilOLF4w8ZPxjnmrEfdkmqVj156+7ZWyrosI1IL6TPX/oCKQZ0 oy2vQ7UQ+90CCBMdvSV5CvM4EKIrVwIiwguYjO6FIMdZq8K8qsX9UP61ie+IkbFJaf sQuEEWFunKmVil4IsA35Gc+sw/p4vx8VcMsBvm78= Date: Wed, 17 Jul 2019 19:31:28 -0400 From: Sasha Levin To: Fabio Estevam Cc: Oleksandr Suvorov , "linux-kernel@vger.kernel.org" , Igor Opaniuk , Marcel Ziswiler , "alsa-devel@alsa-project.org" , Jaroslav Kysela , Mark Brown , "stable@vger.kernel.org" , Takashi Iwai , Liam Girdwood Subject: Re: [PATCH v4 2/6] ASoC: sgtl5000: Improve VAG power and mute control Message-ID: <20190717233128.GB3079@sasha-vm> References: <20190717163014.429-1-oleksandr.suvorov@toradex.com> <20190717163014.429-3-oleksandr.suvorov@toradex.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 17, 2019 at 01:48:43PM -0300, Fabio Estevam wrote: >On Wed, Jul 17, 2019 at 1:30 PM Oleksandr Suvorov > wrote: >> >> Change VAG power on/off control according to the following algorithm: >> - turn VAG power ON on the 1st incoming event. >> - keep it ON if there is any active VAG consumer (ADC/DAC/HP/Line-In). >> - turn VAG power OFF when there is the latest consumer's pre-down event >> come. >> - always delay after VAG power OFF to avoid pop. >> - delay after VAG power ON if the initiative consumer is Line-In, this >> prevents pop during line-in muxing. >> >> Also, according to the data sheet [1], to avoid any pops/clicks, >> the outputs should be muted during input/output >> routing changes. >> >> [1] https://www.nxp.com/docs/en/data-sheet/SGTL5000.pdf >> >> Signed-off-by: Oleksandr Suvorov >> Reviewed-by: Marcel Ziswiler >> Fixes: 9b34e6cc3bc2 ("ASoC: Add Freescale SGTL5000 codec support") > >Reviewed-by: Fabio Estevam > >By the way, I prefer the description you put in the cover letter as it >explicitly talks about a bug being fixed. Yes. This patch describes itself as an improvement rather than a fix. You need to add an explicit stable tag, rather than just cc us. Something like: Cc: stable@kernel.org -- Thanks, Sasha