Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp838034ybb; Fri, 20 Mar 2020 08:53:36 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtugXo4OdMLxluiHooUiporW/u22stpp+1VD46P7G7E6CThAuqyToj60NteT72BqC6hji79 X-Received: by 2002:a05:6830:1190:: with SMTP id u16mr6972239otq.298.1584719616241; Fri, 20 Mar 2020 08:53:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584719616; cv=none; d=google.com; s=arc-20160816; b=v4e1dYNA0T2ofFk+agLYx/O2StJT6NPq81FGvF/Xl4G1rHQqQwDiclWtVV8dTG85lN tBvZFcp3G51DWmqpPGD0+0ZkdTNzia3Ut7OwIFB6O1LX1qS4tJOaPE08Smc1FLbIto67 kKaYOaZS+XmAxGHrNnhxIOaPT+KRMPCahFqHveFrBdNW4fO8VeKeynQalqXBWDJOdJPJ nsGgCiLbPhZFtJ3Ox8MfCHN0NQK6pvuVM/w1LREWE4rt1lce90pPjQi1X+ss1jTzHSdk p0UZfdhciRajAMzmUf40B7XXpp9Ov0CJBtG4dstouBkmjStQcimee3sUHKdGqZeOGEar JeRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=0Ua2qKCRuJX1p+rRo3iu9VUft1KtJWJecbVLUDaflgk=; b=pMkM8Nnjylt/K33oVtsdXFeB/PVRqaFT4qkElq7S2XBzSG7wmIWgImApWaiBUT9vNn tTJhsOHKSurEgX0SURUT0wc3CvP/pZAI4XO5WK7wsvKlppGHX9Z14ZSp+MS8FNXrZYVi 3C8VE4axaIKEBN3u9RYwzom/GlXOCBlEnl5DADTHlSKaNSgB/N6EYyNK8pqhanp0RVIs CIqACo9yMTcNmpzJHWgwwgnmHIjEmmc7IQlYWN0+yv3KL19WTamwfV2DqZdurh4IyRsy OXjiL9S+yoZ5O/lmrdGeV/fXZ7kagmSgw8uFH6/G6uA8DtAL2clF87zCDKOmIRYvc8fD li6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gateworks-com.20150623.gappssmtp.com header.s=20150623 header.b=JrCCUJRD; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m67si2745844oib.215.2020.03.20.08.53.23; Fri, 20 Mar 2020 08:53:36 -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=@gateworks-com.20150623.gappssmtp.com header.s=20150623 header.b=JrCCUJRD; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727134AbgCTPvP (ORCPT + 99 others); Fri, 20 Mar 2020 11:51:15 -0400 Received: from mail-oi1-f193.google.com ([209.85.167.193]:33683 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726925AbgCTPvP (ORCPT ); Fri, 20 Mar 2020 11:51:15 -0400 Received: by mail-oi1-f193.google.com with SMTP id r7so7010074oij.0 for ; Fri, 20 Mar 2020 08:51:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gateworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0Ua2qKCRuJX1p+rRo3iu9VUft1KtJWJecbVLUDaflgk=; b=JrCCUJRDMF/N+NkW+ZOd9bgEyld9L064O27BZmFVHpZAwmutTV85jOU/v2s9twknFl mAwlpNzFzlfVOJKZ8NC0eE9nProuOVCq9O4JAFisbK/uA6igKBtYdB8EdqxAS0/5VnAK DB3SC/HWXyJMksqcyhlQyBI9l7apsGlNjFyYW9WVs8xtDpoUEvp7gBHQ5UCZnZ6XzQKz 6+hhc26tEbs3xDOg6RtIIhv6ZAYwfzK7fXQxIX6NbqC1X2xiQdOXlawvqQOD6CXgBJEG dynuKd6WWWddOGJazON8ma8WC3BKCmS3lpyTmcFstxHzvWJwB1HSrD27jcDZiPfj8l59 mLYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0Ua2qKCRuJX1p+rRo3iu9VUft1KtJWJecbVLUDaflgk=; b=pXTD9q0OyW4ZTei/ZJO3Ydx+V+BxxMdOhTCx7hCoBi0vyfPdXO5YK7L9JmyLzQJiZ9 rQ1JznVDTNwzW8GjOszVWmmH18PlCIemYVCISVYO0+KSX55aZ3G10EP4sExpKeEULE5k 1v415tKs+EMKj+O1eif9v+Pl6iG+zWOuxqcRklK10l0Fob6If007QsyATVxLvohuuIrE +l0l427EnIoPG2/DBzAUeOeuS7d1Nmw5pNSskYyZn77556wIXT65MCbWgfojg9UxRwrl DK9wYvvUo2qV1H7Z+xX1yvHvcSk7rPpcxu8Dy/FcKz+98/iEtqB8rdMWyTR53Dcl8JXi Vdfg== X-Gm-Message-State: ANhLgQ37LWiM/xuyiEizdlVvLnCm3Y24daZ6lehfPtSkaBYUKQDrqEqk oNfYUtT4Xl0JqYruz24F3NQf1Jl7b74dIqQBHba+MQiY X-Received: by 2002:aca:4b56:: with SMTP id y83mr7242234oia.142.1584719474911; Fri, 20 Mar 2020 08:51:14 -0700 (PDT) MIME-Version: 1.0 References: <20191212071847.45561-1-alison.wang@nxp.com> <20191212122318.GB4310@sirena.org.uk> In-Reply-To: From: Tim Harvey Date: Fri, 20 Mar 2020 08:51:03 -0700 Message-ID: Subject: Re: [alsa-devel] [EXT] Re: [PATCH] ASoC: sgtl5000: Revert "ASoC: sgtl5000: Fix of unmute outputs on probe" To: Marcel Ziswiler Cc: "broonie@kernel.org" , Oleksandr Suvorov , "alison.wang@nxp.com" , "lgirdwood@gmail.com" , "festevam@gmail.com" , Igor Opanyuk , "linux-kernel@vger.kernel.org" , "alsa-devel@alsa-project.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 20, 2020 at 12:26 AM Marcel Ziswiler wrote: > > Hi Tim > > On Thu, 2020-03-19 at 13:49 -0700, Tim Harvey wrote: > > On Thu, Dec 12, 2019 at 4:24 AM Mark Brown > > wrote: > > > On Thu, Dec 12, 2019 at 10:46:31AM +0000, Alison Wang wrote: > > > > > > > We tested this standard solution using gstreamer and standard > > > > ALSA > > > > tools like aplay, arecord and all these tools unmute needed > > > > blocks > > > > successfully. > > > > [Alison Wang] I am using aplay. Do you mean I need to add some > > > > parameters for aplay or others to unmute the outputs? > > > > > > Use amixer. > > > > Marc / Oleksandr, > > > > I can't seem to find the original patch in my mailbox for 631bc8f: > > ('ASoC: sgtl5000: Fix of unmute outputs on probe') > > I forwarded you that one again. OK? > > > however I find it > > breaks sgtl5000 audio output on the Gateworks boards which is still > > broken on 5.6-rc6. > > What exactly do you mean by "breaks"? Isn't it that you just need to > unmute stuff e.g. using amixer or using a proper updated asound.state > file with default states for your controls? the audio device is in /proc/asound/cards but when I send audio to it I 'hear' nothing out the normal line-out output. > > > Was there some follow-up patches that haven't made > > it into mainline yet regarding this? > > I don't think so. It all works perfectly, not? > > > The response above indicates maybe there was an additional ALSA > > control perhaps added as a resolution but I don't see any differences > > there. > > Not that I am aware of, no. > The output of 'amixer' shows nothing different than before this patch where audio out worked (same controls, same settings on them). I'm testing this with a buildroot rootfs with no asound.conf (or at least none that I know of... i'm honestly not clear where all they can be). Tim