Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp596891rdb; Fri, 6 Oct 2023 12:30:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGkSaijIY/Ydkt/bFqxSOAZHTav0GYEaZAnKzUmOCiFP/BSEZ6QsI5IM88rjFA0GrrfobS+ X-Received: by 2002:a05:6a20:3c88:b0:14c:910d:972d with SMTP id b8-20020a056a203c8800b0014c910d972dmr10138181pzj.12.1696620630124; Fri, 06 Oct 2023 12:30:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696620630; cv=none; d=google.com; s=arc-20160816; b=gAooCKUqy/qpTJ3dC6RdxvqRnSUnzsXsTXOchdbuEbS6l9WcQrG4j0r2ij/V6HvSBY /QxuPCt9YJlq5f8boXbMqT4TvN9o+hQSx6AI6xRbTqqaMot3xhlaozX+G54y7vW7j8Rs n6WCf1JeGW686l+qxTOXQFpqwzll14iQSIa9WftwpCbtdVcPHNmV+fmCg7Dvn0NbaLBT ErSh3uT8HmBToNshfZmf4AJIGaH3n0mFUcBxxW/oob0BkNGcVrTu6+HBuIpNAc7xlvRu iLDZdGf6xyHC+MrcTUJUQOlDRtJb3JHxECxooGl9qxuuSUqjMvfdcWridm6V+vcMFR7x BatQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=EVzgQqNXVoKxa8LbXyQOuskFaCKkQjrhGDNhzE5Tc1k=; fh=kF6a+Ekga0UqWoSJTED8gdBqb/OCVntR3w2eULMz6go=; b=hP1BfktVXUp7mUS7NZBcSQEYlUspMARgvKn60jNLOldBCvPQw4r4W7T7BJdPJZ5ps3 YXQ/wr6m6Z0Xx91FOoRzdTmHZOgKKHJBSkh6ntf02NxeYsICWdORMdvKp5lY4/qIkRYy lh0f2C87r2MdyB/nR2G9IRTnCuv+Cr2GKeHc0XIZ5gmq9VkSUwVVjEfAwYsSxlpVlCV/ Ucbkd0FU7mw+fopb4KIlADp2YiEYqJqtrmicHcvKDBqdhjDQH/synvDQLsu4b1hMbGLb F1/YjcGWz750t3I8IE61Sc3O65K5E9G95W+5sL0VJvJDLo/1jkBXVZ8Cmz7mFiAO5Vaz x2kQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id v2-20020a056a00148200b0068fb5ca50cdsi2205643pfu.126.2023.10.06.12.30.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 12:30:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 7CBAA81E6ED8; Fri, 6 Oct 2023 12:30:28 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233133AbjJFTaZ convert rfc822-to-8bit (ORCPT + 99 others); Fri, 6 Oct 2023 15:30:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233013AbjJFTaY (ORCPT ); Fri, 6 Oct 2023 15:30:24 -0400 Received: from mail.andi.de1.cc (mail.andi.de1.cc [IPv6:2a02:c205:3004:2154::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B0AF95; Fri, 6 Oct 2023 12:30:22 -0700 (PDT) Received: from p5dc58044.dip0.t-ipconnect.de ([93.197.128.68] helo=aktux) by mail.andi.de1.cc with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qoqWU-004b0J-U9; Fri, 06 Oct 2023 21:30:06 +0200 Date: Fri, 6 Oct 2023 21:30:03 +0200 From: Andreas Kemnade To: Tony Lindgren Cc: =?UTF-8?B?UMOpdGVy?= Ujfalusi , bcousson@baylibre.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, jarkko.nikula@bitmer.com, dmitry.torokhov@gmail.com, linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Subject: Re: [PATCH 1/3] ASoC: ti: omap-mcbsp: Ignore errors for getting fck_src Message-ID: <20231006213003.0fbac87a@aktux> In-Reply-To: <20231006102348.GK34982@atomide.com> References: <20230705190324.355282-1-andreas@kemnade.info> <20230705190324.355282-2-andreas@kemnade.info> <7d58d52d-2087-45af-b29e-2515b63ead13@gmail.com> <20230920063353.GQ5285@atomide.com> <20230921121626.GT5285@atomide.com> <20231006102348.GK34982@atomide.com> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.37; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 06 Oct 2023 12:30:28 -0700 (PDT) On Fri, 6 Oct 2023 13:23:48 +0300 Tony Lindgren wrote: > * Tony Lindgren [230921 20:34]: > > * Péter Ujfalusi [230920 17:40]: > > > It is not the parent's fck, it is the PRCM clock which is selected as > > > the sourcee of the clock generator (CLKS) for BCLK/FSYNC. That is the > > > functional clock as well for the McBSP instance. > > > > Oh OK > > > > > Out of reset it is using the PRCM source which is fine in all current users. > > > I would do this fix or workaround in a different way: instead of > > > ignoring the error, avoid it in the first place. Do nothing if the > > > already selected clock is requested. > > > That would remove the error and will fail in case the reparenting is not > > > working -> boards will know this and might be able to do something about > > > it in a reasonable way. > > Here's what I think the regression fix for omap4 clocks would be, the > old main_clk is not the same as the module clock that we get by default. > If this looks OK I'll do a similar fix also for omap5. > > Or is something else also needed? > hmm, audio output works, the waring is away, but something new is here: omap-mcbsp 40124000.mcbsp: Runtime PM usage count underflow! # cat /sys/bus/platform/devices/40124000.mcbsp/power/runtime_status active even with no sound. Regards, Andreas