From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7D79CC4363D for ; Mon, 5 Oct 2020 11:59:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3C9CE20776 for ; Mon, 5 Oct 2020 11:59:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726018AbgJEL7h (ORCPT ); Mon, 5 Oct 2020 07:59:37 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:58431 "EHLO out2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725891AbgJEL7h (ORCPT ); Mon, 5 Oct 2020 07:59:37 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 75EEF5C016C; Mon, 5 Oct 2020 07:59:36 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Mon, 05 Oct 2020 07:59:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=Q897tT8ubWR5jUvQHUMctBSuXaQ szl7lev1kFoxWyhQ=; b=nBJWnvAoK//RQnwLHXVaamj0TZD9axahq1PvmX5oHKr M36gVJsCWqz41mlvuiyrdahIa6RIFu+rjqnS6Q4IeOuxJ9YSWT1LFtJvy1oJzVXC 4TQlUB5coV3gndmt1zAyPiy4mnhyyLhtmNLEevKcBtJLxDaKfxtOnrcTBPuMbTwG 53DnvBE13EsTHpDdiyYGQ3fqc8u/iVG2p++1T8Ebq0joiltou73sV+occKfYNWtS p/1ChINJUiGupAN+Ok7heLIARXM6p7Lju2Hors3NB/q+m0SYDwSpk7zHbyaPUrkc g1lwZjBF/SMump/EdW64S3WsOPDocsy9AAic1RkJf+Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=Q897tT 8ubWR5jUvQHUMctBSuXaQszl7lev1kFoxWyhQ=; b=VbgmYZDeg7gS6JS4KpsvwT wPGqZio8PmRNgsW1zCx2NfX4lK3GIw0IQBIHvPpHlWN52Ts50XOs+Xkdf94QUVXT cmoRVVCyQWA5LG4dZkfHSeJuhq8YOHfMlP0CTCr4bO2D7VN7s268A7jQ0Tz9PZyo Rt4pAZh7Xv1mA5I4nZXTsXeIIpQJCusZFAd9mJZbGCDbedWjQRtcxcPzmV0bF60w 9YmaAD4s3lN0SSDlf9UVCUD5Z6VMEY7TzdrF1wy+x6k1nIjJ37DB0IV1h3u3pfUq mFz9HighppAr+gC6d10h9eI6mcjKfRipdclX7cdVccyBErqPThF1L16z9SOkVhzQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrgedvgdeglecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofgrgihimhgv ucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtth gvrhhnpeelkeeghefhuddtleejgfeljeffheffgfeijefhgfeufefhtdevteegheeiheeg udenucfkphepledtrdekledrieekrdejieenucevlhhushhtvghrufhiiigvpedunecurf grrhgrmhepmhgrihhlfhhrohhmpehmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id EB4433064610; Mon, 5 Oct 2020 07:59:35 -0400 (EDT) Date: Mon, 5 Oct 2020 13:59:34 +0200 From: Maxime Ripard To: Samuel Holland Cc: Mark Brown , Liam Girdwood , Chen-Yu Tsai , Jaroslav Kysela , Takashi Iwai , Ondrej Jirman , alsa-devel@alsa-project.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 19/25] ASoC: sun8i-codec: Constrain to compatible sample rates Message-ID: <20201005115934.srtcf5f74kfc4rol@gilmour.lan> References: <20201001021148.15852-1-samuel@sholland.org> <20201001021148.15852-20-samuel@sholland.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="svg53ayom7l4t3od" Content-Disposition: inline In-Reply-To: <20201001021148.15852-20-samuel@sholland.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --svg53ayom7l4t3od Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 30, 2020 at 09:11:42PM -0500, Samuel Holland wrote: > While another stream is active, only allow userspace to use sample rates > that are compatible with the current SYSCLK frequency. This ensures the > actual sample rate will always match what is given in hw_params. >=20 > Signed-off-by: Samuel Holland Acked-by: Maxime Ripard Maxime --svg53ayom7l4t3od Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCX3sKpgAKCRDj7w1vZxhR xd9pAQC/j8ToJOZuhDga2Xzm9h4rkaQuXqqemTxlrn3E4pb0LQEAreN/HZlgti9b CM2uL2AYaJty/gHyCrfWkzutUz57CQI= =CK7x -----END PGP SIGNATURE----- --svg53ayom7l4t3od--