Received: by 10.213.65.68 with SMTP id h4csp47570imn; Mon, 19 Mar 2018 19:06:33 -0700 (PDT) X-Google-Smtp-Source: AG47ELtlUYB4nxyg7D+cvClC1yf+S9eQGWTZzIoHvZwkY6/nrerGr+igYMocLntahrEu1WLkU+pM X-Received: by 10.98.144.65 with SMTP id a62mr11982731pfe.96.1521511593843; Mon, 19 Mar 2018 19:06:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521511593; cv=none; d=google.com; s=arc-20160816; b=Ze3XsjiwSWcQCWei8X5Yclndhv960M2k2eLcYeYzmda/Vit9yo8Gb9h6FLq3dNkjUV ZeUbT3c8EiF1H2rB0uttJSN4Rb9NWz5uOo/gWY6DE9C+4U1MfyDgn0v2PFrQKHj6QVc+ kvKyUUtamDwvp70PJr2yOLhGkc297JGCkWZw0KhMeXQQs7V1OwE2gfo+4Hyosf7TwnOj txJkD90TAZ2HnUVaU5fykbAWaXSFQauO+656G6L5B76agW4lbFkqI0JVJNqPJRWWwvOB Ga0egC41aF4RgkIT/ydOdZDz7F8WrsefUMrRzcSmBtg6iEGVG/lRIItKZLXdurQeZ2J9 zAnA== 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:arc-authentication-results; bh=Y4eFgDVGMCtFXJBUjYgE8DrVmekFGxNdiGYL76+ewWA=; b=MKtyucD+4EcNqAU+zB3xnX02Vm4PytDeDw6HSbQAvgeA0kjBB1iW2rVxr7XwwsLTOJ IanXzrVvmaVfYpIfdK5ieTjpNYMTEY9kyy5FEkDDgTVeOyqWivzhR/1xn3gXRhmJ8lCl wvKnZgYD2fPf0shRDFPCSUVKXDL3f294/KuGogTML7mUvjJhKpbdfcCoZCCmxgUXW0wM 0yQa6MyE4pk1lm5OCYqgKSzFS/7Sr2zB75tmQOjXAdqpYlUHYMKkvQ3rFiKdPlIdeTox 7eiRWS/u65SdAs+jYEyLlPomprjWebq9TkO/gdgsFLGKe4afE/5sDspx/vh/eojERw95 AgTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=uGVUSWiL; 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 u6si382785pgv.730.2018.03.19.19.06.19; Mon, 19 Mar 2018 19:06:33 -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=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=uGVUSWiL; 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 S934957AbeCTBM2 (ORCPT + 99 others); Mon, 19 Mar 2018 21:12:28 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:53568 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932939AbeCTBM0 (ORCPT ); Mon, 19 Mar 2018 21:12:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Y4eFgDVGMCtFXJBUjYgE8DrVmekFGxNdiGYL76+ewWA=; b=uGVUSWiL3DEpdOgH34ECqucCe HK2jF8o+idAVscc2EYbMwXAVGYM7aJhpb8V+2rJqVX2Ogh16h6NM5IGXeBp0mmYRPUIReFdCJ990T 1EULY1ReJWtiReE/T0Dkzhi4E0NEuU0mrWRrurOIZPHrG2NheRDUVMBr/52YKXbytWx/E=; Received: from [218.255.99.6] (helo=finisterre.ee.mobilebroadband) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ey5p6-00079c-GR; Tue, 20 Mar 2018 01:12:20 +0000 Received: by finisterre.ee.mobilebroadband (Postfix, from userid 1000) id 6D25444007A; Tue, 20 Mar 2018 01:12:16 +0000 (GMT) Date: Tue, 20 Mar 2018 09:12:16 +0800 From: Mark Brown To: Katsuhiro Suzuki Cc: alsa-devel@alsa-project.org, Masami Hiramatsu , Jassi Brar , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ASoC: uniphier: evea: add switch for changing source of line-in Message-ID: <20180320011216.GN2186@sirena.org.uk> References: <20180314123900.19505-1-suzuki.katsuhiro@socionext.com> <20180314162609.GV2186@sirena.org.uk> <001101d3bf39$6e3933c0$4aab9b40$@socionext.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Wi2ae8OABxFj6q5L" Content-Disposition: inline In-Reply-To: <001101d3bf39$6e3933c0$4aab9b40$@socionext.com> X-Cookie: Am I SHOPLIFTING? User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Wi2ae8OABxFj6q5L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Mar 19, 2018 at 01:19:10PM +0900, Katsuhiro Suzuki wrote: > > I'll apply for now but this should really be a DAPM control so that we > > can power down things connected to the disconnected line inputs when > > recording. > Thanks a lot for your suggestion. I tried to change the implementation to DAPM > control as follows: > I can see the value of ALINSW1 register at 'Line In 1 Mux',0 using > amixer get 'Line In 1 Mux',0 > But I can't change the value. > amixer set 'Line In 1 Mux',0 LIN2 > Simple mixer control 'Line In 1 Mux',0 > Capabilities: enum > Items: 'LIN1' 'LIN2' 'LIN3' > Item0: 'LIN1' > Would you tell me what is wrong... Ugh, I *have* run into that before but I can't remember what triggers it and your code doesn't have any mistakes I can spot. Unfortunately I'm at Linaro Connect this week and don't have a test system I can poke at with me to remind myself, and I'm still travelling next week unfortunately. I'd add some trace to the set code path to make sure everything is being called as expected. It's somemthing really small that's hard to make a warning for in the code IIRC. --Wi2ae8OABxFj6q5L Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlqwX+8ACgkQJNaLcl1U h9B+8Af/QQGTFkLC66sq2/jYkUs8UZJhHNj12km7M4MmEXAn7DBmnkE/EOBWonBW VkUyPNIpqrLEVd9ROjvHiBRzvGgJsnZUAJ0ZFVpWEYyFlp34nJdHNggw2KQPC8/n OXDXw203NShiCmzqBJ/G+kanSDSIiUGq+yXFoDApjemx6VjtKKxuf8Q9m8Ys54o2 UWgmaDAVXmnikl+H9dV5GQ7y3II8OMVgYeYApPtzhW8PKKq+Hx4XesxcyT/UzLeW TEOQd6nkhrNYAG8RvBQqfBfG4xYIvrqjkm7kdo4udETAMPCQZlVya7hK0Mj37BLj z4UMUpRSlt1VSXTifOY2fml1/8/f3w== =WXd1 -----END PGP SIGNATURE----- --Wi2ae8OABxFj6q5L--