Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3932357rwb; Tue, 20 Sep 2022 06:45:47 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5z9xjOKDl4yYpE2+Fh4caSBrhqqOYpIO0f1RkL6kVCYAq89A7l6lbj5JZ9hHNN2Q9XjPzk X-Received: by 2002:a05:6402:2692:b0:451:6515:1946 with SMTP id w18-20020a056402269200b0045165151946mr19941537edd.417.1663681547678; Tue, 20 Sep 2022 06:45:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663681547; cv=none; d=google.com; s=arc-20160816; b=Ga5yXnengABr888dGdzqAk3UCmjvr0nxBgi81XjBhYjfP2s1vePUdRq7EBcbN/EZ1a CKG0opLF4Xf9I1TRPaaCcFaoRVXFcOGmnmN148tBeX3Rg2mAyYkRmBrWHXmaubhwIM1P JLUauBZkMbjiI0zcZgxW3xK/+7LVxJaUc6wEMwJW0hGRAc8oWHyU5AnKmVsOcr0VwtzU SPssY2UHcETLWCwdqqUfs7Oo6NH3EqZkr93ng54PP4/n+taLi69cg+p8iRbjkQ7ieKnx OedNVNp1zJWGZgybGSteevR01f7e5qaAxOMsA+/WLBIka9x7pEhoJyNYETRiBX4PELy9 Cb2w== 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=3pIjUlJA919B9lQ4aUcTZDjl/ToQpR3Iu1q2qExlc+0=; b=fYDYdCYOuZjch99bM6HSpcVOc7LFSpUA7SVw0yoJdzH7TsKxu9796dmzc5KSk4LNiJ +2ND6UVXxNr+uBfnwlrkumNhfg8AWdMGWOMFhKmkFRcBdybubCRF26qnIVFFaHa972GO SiCA13YZQZVG9Zobe1GjeYvaAjMH/iYRZK3B6rfhKpg9Ch1LZpEoEcb9PR9ktHP8euow TPIb5NcBpIOp/b8CSjftZ0tkqXJ6eOOSEr+TzyST7+NEPT1axNAQkr+cHQu9mKjhzX4o eVMW9h7f229typtCif7DOaes+014FMnqYDUFO22R9ytWkyXXEF3jHv2XPM34LBLys+gO 2pXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=RZSS9O3G; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d15-20020a1709061f4f00b007819a64c5e4si1100854ejk.982.2022.09.20.06.45.21; Tue, 20 Sep 2022 06:45:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=RZSS9O3G; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231207AbiITNjd (ORCPT + 99 others); Tue, 20 Sep 2022 09:39:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230428AbiITNja (ORCPT ); Tue, 20 Sep 2022 09:39:30 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED138B1A; Tue, 20 Sep 2022 06:39:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=3pIjUlJA919B9lQ4aUcTZDjl/ToQpR3Iu1q2qExlc+0=; b=RZSS9O3GRyd5jXE3KqsVzp/6ja w4m8lGQbeA2elwVVGEM4FwtLGj41wsYTWJU01DB3/dGo7oz+mIiJ307vyc0rZZf6FUXW6nV/IK3ih pWNCaYVxkQanbkWV34A7U42jndu60DeFADkyspOOmRFIy0w+IJ1b7pPZ9aKgoBWH4Ouk=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1oadT4-00HH5w-0s; Tue, 20 Sep 2022 15:39:18 +0200 Date: Tue, 20 Sep 2022 15:39:18 +0200 From: Andrew Lunn To: Pali =?iso-8859-1?Q?Roh=E1r?= Cc: Liam Girdwood , Mark Brown , Gregory Clement , Sebastian Hesselbarth , Marcin Wojtas , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 1/5] ASoC: kirkwood: enable Kirkwood driver for Armada 38x platforms Message-ID: References: <20220920132648.2008-1-pali@kernel.org> <20220920132648.2008-2-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220920132648.2008-2-pali@kernel.org> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > + if (of_device_is_compatible(np, "marvell,armada-380-audio")) { > + err = armada_38x_i2s_init_quirk(pdev, priv, soc_dai); > + /* Set initial pll frequency */ > + if (priv->pll_config) > + armada_38x_set_pll(priv->pll_config, 44100); > + if (err < 0) > + return err; A nitpick: It would be better to do the test for err before calling armada_38x_set_pll(), and then there is no need for the NULL check. Andrew