Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp457775lqp; Tue, 11 Jun 2024 09:12:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW4gQTFreCDMTn7Fc4O1JQDtcyhgMk3KEF/pCHSTNKkpQvLgNLN89RsEwBN65w37gY1dr6YC9v31uqj9mn7m+B1Yoo/tTQu2SBWCp/ZnA== X-Google-Smtp-Source: AGHT+IF3YQ9wWEUYZn9VKUGkb75awlORX1k8KYTVRc+a8RjY5hCYG3wSN3a9HboQD7IIcUpCoZyY X-Received: by 2002:a50:8d13:0:b0:57c:6897:fe09 with SMTP id 4fb4d7f45d1cf-57c6897fe65mr6318665a12.17.1718122335559; Tue, 11 Jun 2024 09:12:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718122335; cv=pass; d=google.com; s=arc-20160816; b=GOmCiS9peHcLLeQpzX7rfew+joQsqfKJfOZXBMZo788LzxVU5Zq2FjIgueo/sNY9Ad kkGyFfl7LABBcqMx5y4UETe8IiD3aJjj/DLemsp4YMhMlZptnqY9c3sKDjJOgWzAbvnW 26PJan/NNeTMyDqPrzBB7wmXFv7ddjG09QwzZTRdbvyTVlIZvBCnoDAGQsMLGxeNM7Y6 UUwbAFUjX8zDz9TWj7op2LWENMuhSh7MZk78oJ6Uo7GouHYovo/vmlHp9uSq8YxGmtA1 7ElYGcTQk9gFjOfwYH0rZxI3+Tqa6JHrkhg6sB+l/gTYYYejX6mP9+kV1bHfy3T752p6 bxDQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Ol2VJn/BWKEivPp4IuXH5ySlMziQEk3FEiUi7TrjjSQ=; fh=SSoVwmNryz56GQofQ9pcK5mhsN/EkpUA0sH63e3zu+s=; b=Y+z2aGfg3GklxFq1B3T4K535wUORTVIJxirrKl8QYDnZa09u6gx8FSa+cpijMdt0Fc +JV6nGbG7+cC0/vxxsa+y1re21lFu1GIIlZhYmNynM3xFEsE3oRWCwQnm25ihX/dE3KC zTy1Dd2XgpaLdXMP2n2If/3w46DmNXYK3SEG4eD7hPE7WkSR/PVjLZ8NjC/fpReSilOF 3pT4DeYFQvnXyi6Gfe5eT5+MO2YHd9Oy0C4b3qMZ/qRcvw6nv2cdlpo2YvIsIcPVS7Ss NUXYBwFTPIVvdajPb87MLpulKxxbgRE32HFnMSFYfnzIUsEjv3tJCNguRECO1LMdrQ3M iQjQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UVK+Wppn; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-210216-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210216-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57aae1fdab8si6297721a12.272.2024.06.11.09.12.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 09:12:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-210216-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UVK+Wppn; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-210216-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210216-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 49D681F23C1D for ; Tue, 11 Jun 2024 16:12:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9F1E63B1A3; Tue, 11 Jun 2024 16:12:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="UVK+Wppn" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C48842C694; Tue, 11 Jun 2024 16:12:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718122328; cv=none; b=gykI1K6KyyKITriz/IR8zHgdinL37W2ITPrvuOV8zZGFOyIlkQRZ5rlfPmRjUH9j7fAvIFKkgYEBYkdHzZV8FqBHZ0MvQhaLCNWrwzsI+TI+mMamqCXHe6eFBiiXY+fkFs8pvqvZbZcascXgridXIUKlWCpUSCueSFz7yS1NxnU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718122328; c=relaxed/simple; bh=aJeW2N3kwCz5oB5MHCriHIh05QZu77JtFLwwq8ApGUo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=LRlnjtcofHAMfFxolxXV1waiUuCTpgWKV9mwYtVNsIwJOEeWuzT3fYAFuzGw/3Pm1BVoOC84bFDfuCLMR/wa+9cy+Bv7gFENOTG7fY2bNkUc7chxmF5Q+gyQYK6lp+/BrFeV6gNkWe2/kf63DisVddxrRp/w7Kt8RZr7bBMg6Vc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=UVK+Wppn; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E30FCC2BD10; Tue, 11 Jun 2024 16:12:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718122328; bh=aJeW2N3kwCz5oB5MHCriHIh05QZu77JtFLwwq8ApGUo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UVK+Wppnos2Eafl97QCMr2wdlm/2KelWydzXxwnCLqUxDoPSLbKXLE271XLZjkrte 5djNSV+lx9sZkprvFxfdo5CL4kbyEdw9lmWaT1MKEziFI+8thhCPBu70hZ9ycDCuN1 xL73+msP+cFrzPDaCvgvLVkCRnHAwlFX49GItoKAFqRqTEcq+zhT/n3nPzFVoDg6to Lg0/sByxIkG7WYQ3rdUHWohXZkumAp0iLs1bRF4EoDz61s6oNt/E36UswwbaNXZj0k /R0hYfTkrNewOYYdmhF2R4atxDfHFQ9IyJsxH7QWTOzosghxwRZgMyaR9doznST0Lo fi3kguYpwwPIA== Date: Tue, 11 Jun 2024 17:12:06 +0100 From: Mark Brown To: Richard Fitzgerald Cc: linux-kernel@vger.kernel.org, patches@opensource.cirrus.com, alsa-devel@alsa-project.org, linux-sound@vger.kernel.org Subject: Re: [PATCH] ASoC: cs35l56: Disconnect ASP1 TX sources when ASP1 DAI is hooked up Message-ID: References: <20240611145746.1454663-1-rf@opensource.cirrus.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="4hy4b+bAfizSELLR" Content-Disposition: inline In-Reply-To: <20240611145746.1454663-1-rf@opensource.cirrus.com> X-Cookie: Your love life will be... interesting. --4hy4b+bAfizSELLR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 11, 2024 at 03:57:46PM +0100, Richard Fitzgerald wrote: > If the ASP1 DAI is hooked up by the machine driver the ASP TX mixer > sources should be initialized to disconnected. >=20 > The silicon default is for the mixer source registers to default to > a collection of monitoring sources. The problem with this is that it > causes the DAPM graph to initialize with the capture path connected > to a valid source widget, even though nothing setup a path. When the > ASP DAI is connected as a codec-to-codec link this will cause the other > codec to power-up even though nothing is using it. >=20 > Signed-off-by: Richard Fitzgerald > Fixes: dfd2ffb37399 ("ASoC: cs35l56: Prevent overwriting firmware ASP con= fig") This doesn't seem particularly different to any other unhelpful chip default, I'm not sure why it'd be so urgent that we'd hard code a default? There were some other devices with things like bypass routes set up. The capture path getting spuriously triggered feels like something that should just be sorted in general (TBH I thought that worked OK but it's been quite some time since I looked properly). --4hy4b+bAfizSELLR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmZod1UACgkQJNaLcl1U h9CBAQf+OhZdPDxTYMLChOAhYTNb0+Q25t451LvA/upiJjwv4Wz/TNIntO6kFK2c 8ntuUtQlz/SSqBwrYDTbQbPT8f37cKiXEN/VggO6LIFbLvoaNsuxMUVrs557l+u9 Kh2NltpGwT0tsIF1Se0uTxaHCRbW25jW73sGjjUVnkdesGGGA03uejObLNxMoSxb GBBdSy5PbML9buuiqz7HeP8e8wyi+/Qg/M+oD0loP+3AJShbYgp3/92f1gDQpPJk 9GWYAz8FdIsCyLY5GwOrcViV6l6DX/mFbH2+sF386uz/XsT7psQurHhTG4oKPSlB ioBDd73aX0JCg0csiL83a9YcA36IXQ== =6QSb -----END PGP SIGNATURE----- --4hy4b+bAfizSELLR--