Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp44162imn; Wed, 27 Jul 2022 14:42:26 -0700 (PDT) X-Google-Smtp-Source: AGRyM1u/4hRLpE8bFGa3nGWBH41vWxzpGKwJgkHbbzh3vq2juVBq1aNxeMhnf8qcnaExzBUf4qM8 X-Received: by 2002:a17:906:4789:b0:72b:fc8:23d6 with SMTP id cw9-20020a170906478900b0072b0fc823d6mr18622464ejc.656.1658958145757; Wed, 27 Jul 2022 14:42:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658958145; cv=none; d=google.com; s=arc-20160816; b=fVOIw7EbJAjoqHW9JU2for0x6GpKQFgI5orj50F2QWs+MoowToPh4qoaY8iXEY4xEW f3WdbfSnhmkdpohNXxKjPDl0fJDpBghGXE0RSGeFMEbL8DPcFlo+j7+jSxgpNzRYyyU1 D4dgOHIDE4vhQi46XAuk0rE8A1tY7HFnZBURRNVl4kDTLIxShhcxi9QSgc4tt5LiS7oN rFq4tkeo/DGws7P2Zu3otWecZhEMQOwJaVrktsAc9Aq32I1bFkDosp/jmvzHz2X3/Z35 3Xx3s8rudn3ndwBww1oBv8z4BNJkxd6z4mufWsr26uDwM0Tr6PBzP9aUK/L3KkLI5XBE CU4g== 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:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=+e4qEZt3E/KqvmlvSFtGJp9OTeu1tIF03p9NV+3o5Us=; b=eybNMp9fMp+PfXr9rFVIy5t7hRTO0aL0Oj3PHpFHjsTnQN+I6I2OqemWPMe1cbo7kx YIrNCbba9mcCpNEsK33fjIcz5Gojpq7bUqwKpwR/y2GuCO1h80t+pHgdsQvzjCB3pxHE MANMCo55KA5fy3EUlMgj5sZD5Ip0Wn0MFK2GaHejId7yW1KfcwIbb3vAT4kY3RIekUIl jiNaxDpxwVmPiHJVUBQWd69fvm58JbKS+83KK7FjZClYtoKsNJLjC/+jcXfJ9/k5FPXS HvbIzI3qrpcEe3y6+exPQSZuB/2xNFTkfpy9mnOXNR5gakWPTF6/x5nquDaQNmEOWe3D UKtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qKpjjjqn; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dt11-20020a170907728b00b00718c7b4cc10si17560378ejc.127.2022.07.27.14.42.00; Wed, 27 Jul 2022 14:42:25 -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=@kernel.org header.s=k20201202 header.b=qKpjjjqn; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232889AbiG0VZt (ORCPT + 99 others); Wed, 27 Jul 2022 17:25:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229543AbiG0VZs (ORCPT ); Wed, 27 Jul 2022 17:25:48 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 388E25C977 for ; Wed, 27 Jul 2022 14:25:46 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B8C2860A6D for ; Wed, 27 Jul 2022 21:25:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B065FC433D6; Wed, 27 Jul 2022 21:25:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1658957145; bh=RQDcnihAQECpIPIGtWrEQpvzYtBnkf+NmAmzZ4dC/+Y=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=qKpjjjqn72xgTFE8Qs967fz8bQD3tFQehF+DhEXll8ngJ6CijQxk74P78F9PgEEAl cPg3QrIlLgVmk9c8J6XrPwFx4duifuTOvNznH6a4FL9d2EXnRTcpuK6NO1IKzp6zF+ CFsOzPkhTWpmv9M74RzJYoHPOlb5/ogttmxg6adjPewcBNoGK33dJh/vXxU5IWfTtO /QgOK9PSHj1BfJAtuKKQoB5wu1YQbYZc3D3JpOO2OQxeK0B14LBJqRCgnsUCfcdXHH Ap+5hzZ6i52hj6/zevDEdIJCfzT0HDS8bw5VAgLgWCrzQz4eCKLWDLcvKFA44uTWNw Wd5jvPxQxF58g== From: Mark Brown To: Srinivas Kandagatla Cc: Srinivasa Rao Mandadapu , perex@perex.cz, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, tiwai@suse.com, lgirdwood@gmail.com In-Reply-To: <20220727124749.4604-1-srinivas.kandagatla@linaro.org> References: <20220727124749.4604-1-srinivas.kandagatla@linaro.org> Subject: Re: [PATCH] ASoC: codecs: va-macro: use fsgen as clock Message-Id: <165895714343.1039659.13792597737035466028.b4-ty@kernel.org> Date: Wed, 27 Jul 2022 22:25:43 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailer: b4 0.10.0-dev-d1cc2 X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 On Wed, 27 Jul 2022 13:47:49 +0100, Srinivas Kandagatla wrote: > VA Macro fsgen clock is supplied to other LPASS Macros using proper > clock apis, however the internal user uses the registers directly without > clk apis. This approch has race condition where in external users of > the clock might cut the clock while VA macro is actively using this. > > Moving the internal usage to clk apis would provide a proper refcounting > and avoid such race conditions. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: codecs: va-macro: use fsgen as clock commit: 30097967e0566cac817273ef76add100f6b0f463 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark