Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5411311pxj; Wed, 26 May 2021 09:52:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxC2UxmDaboHkNZdaNgcoP1OXXuegNmJmcgZpc69lAJOSJvkCGJavK+2j4hTT83yTQAgQIb X-Received: by 2002:a50:9e63:: with SMTP id z90mr38910898ede.342.1622047971740; Wed, 26 May 2021 09:52:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622047971; cv=none; d=google.com; s=arc-20160816; b=tMibnZhOIBYZVZhVrojrb33LSZ6yi9F1Itb9WsIv1D9DeDRk2saae8loVia11BWbNs o5Awk6gvlWczD/ZsXWJa/P1Wb++9OwYn4CII4sRDcd3Un0nomk2DkiaORN/m49O3XnYY 3kX8VVoq70Q2IO8B2V+28bsiYJuBjsN2AJKX6zw4jwzKxtNgAFRb6UfhYwIHPJTcUcrD n2IXfku+LvfnuJPQFRquhvjwYTwXUqdl5qohI+NS9NqWN/TM+T8Eb5eaLjELQCYM+XCK 5PUKTJqAZltrg8JT5+Z4S08QZcBaPu9LLMI7EJxlVHUluJMW6tJv4CxTV/Fnw9UlCDtY w2zA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=TMe0IyJS6cQ+Lq2HcNsTfT78sP/9ZGYPAk05niLZNeM=; b=dQeQsXNV3oeJ1+wkv0bLB8+6dMAC/92lpZnDF8IuMK3DnuUMxotSkd+SgPKrqyU26I f2RAQ4As6fxk0EwnvugwQTF6hqJB49QO6yqmo/hJM+5TY6Y3rQMGDNfQ1VZFiQispzcA dsQIwrqq0GWQc6Z3BTB1Gjd8a+9ORhXeqchIypjHbSAWZghCaMMFmJSdE+snTecAd0Vc +B/YffDWYYs4IUUWxCpOH/Nw/M/qU4X+1o80LvCQpIDB0bpnfonbGsglGgVne+nKhxNx iPffrZZDWjpH0m6e9ao0I/HC97zN05Xtcp9PueqacRlnzCVUh79w05UOvk7uuy7DsAoS NYgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=ueVfX9lZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id f10si19049355ejq.186.2021.05.26.09.52.28; Wed, 26 May 2021 09:52:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=ueVfX9lZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S234021AbhEZKlN (ORCPT + 99 others); Wed, 26 May 2021 06:41:13 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:56890 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234119AbhEZKlD (ORCPT ); Wed, 26 May 2021 06:41:03 -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=TMe0IyJS6cQ+Lq2HcNsTfT78sP/9ZGYPAk05niLZNeM=; b=ueVfX9lZTHGcN+dDDycF9mQOdz iTPADjKo7qvHBeqyQkPRQjiKTc6yInxBCdzMcVMZ5IPGCSL7M/Bu5GCY0y7NBhPOcReo4cuyktI+a Lr+1b3l5uwbjLFKWwUZjAVSdl+pRuKIKUO7DDHwl1NDxUoBwdo4cda5SMSnbQtSf11mw=; Received: from 94.196.90.140.threembb.co.uk ([94.196.90.140] helo=fitzroy.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1llqw2-005xmf-VR; Wed, 26 May 2021 10:38:47 +0000 Received: by fitzroy.sirena.org.uk (Postfix, from userid 1000) id 49705D05864; Wed, 26 May 2021 11:39:21 +0100 (BST) Date: Wed, 26 May 2021 11:39:21 +0100 From: Mark Brown To: Maxime Ripard Cc: Jaroslav Kysela , dri-devel@lists.freedesktop.org, Daniel Vetter , David Airlie , Maarten Lankhorst , Thomas Zimmermann , Liam Girdwood , Takashi Iwai , devicetree@vger.kernel.org, Dave Stevenson , Phil Elwell , Tim Gover , Dom Cobley , linux-doc@vger.kernel.org, Eric Anholt , Nicolas Saenz Julienne , linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, Maxime Ripard , Nicolas Saenz Julienne , bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org, Daniel Vetter , linux-rpi-kernel@lists.infradead.org, Jonathan Corbet , Rob Herring Subject: Re: [PATCH v2 05/12] ASoC: hdmi-codec: Add a prepare hook Message-ID: References: <20210525132354.297468-1-maxime@cerno.tech> <20210525132354.297468-6-maxime@cerno.tech> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="wI7EtUudqJM9+3Oj" Content-Disposition: inline In-Reply-To: <20210525132354.297468-6-maxime@cerno.tech> X-Cookie: Ahead warp factor one, Mr. Sulu. Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --wI7EtUudqJM9+3Oj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, May 25, 2021 at 03:23:47PM +0200, Maxime Ripard wrote: > The IEC958 status bit is usually set by the userspace after hw_params > has been called, so in order to use whatever is set by the userspace, we > need to implement the prepare hook. Let's add it to the hdmi_codec_ops, > and mandate that either prepare or hw_params is implemented. Acked-by: Mark Brown --wI7EtUudqJM9+3Oj Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmCuJVgACgkQJNaLcl1U h9CRRggAhsstIqtcqC4EquItefHkzTS9v8kbwvJytct/Q8VBhXpc7T0EkxWdaCxn s+7PulshfFDvB24KxgJcIs+bHVkn+e0dvfDLkjSd7RO+nGcIwnccOUzCJ2CX7/qS ++Q7uUsY8Ne55NUPIfMpubv32SIHaYeCHglZjHKaHNpsM58ANdTAN2Sl2PMJs3u6 phAyak9G80MvU5cjMto9WmV9zyGZ6uobiGH4qjx8wzO+71RuSMwCKVF6EZ/mdg26 8XLOMvwo44jmHGWCduFH3mdVtsPi89Tblv3wNBrLlwMjZhJ2AiEqssq67lKCbKF5 tvl87wk9yeLVRB/BD43Vpa3DajNrrg== =7TgH -----END PGP SIGNATURE----- --wI7EtUudqJM9+3Oj--