Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp406940pxy; Wed, 21 Apr 2021 06:03:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz2AWmiL7hhHXuvPb3KZiP1QiBI0ExwtHxBJA4rA6TZFtXcCxCSl9vT2N4xnJDTtc6znj+D X-Received: by 2002:aa7:c9cb:: with SMTP id i11mr12846984edt.331.1619010230912; Wed, 21 Apr 2021 06:03:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619010230; cv=none; d=google.com; s=arc-20160816; b=KOgOhFxsQB0sNLU2xF1fIzT+j2cqPBnZBwaSme4a3lC5DaZ3dPqlddisL0qPgXLgsM yQxMSw0PYi0jIAtTouanotBDp2P1opm1DBWy/APofkFgVaNC/Br2pUa0KosT81xmCcpm gHShCX19l1qD8SEWe7pADV87rkNAkiPeV0vsasbek7sJnVQQlTQR+UPAT9bGHPoTfNOi 5tMnLHVCMFMzqWuAIJiw6zeEKwo5BM/U/TGsWMZM2t0H25CuA+RnhBRm+3ovj59Ii7Ba qiB3RUKPyH1oqqgS03tlF9C4XsjG7vn0ItPl/K1wfcyQuCkahmJjOpK59g+oppyK2qb1 sWxw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=MRPJS1ijITk2FOQ9jFOtPrHo+61HYV+8yTL1dDNYHhg=; b=PwtVLVquDQn2vm1gHDKIfvWp+Nqoj7/XI0QrwRygCkeLxVgoDnpR4F1gfyIOFEVVBd uAps5DTztl35+ZGV2br+hRncABLujqFrmsK29bUxUH4rv6wIPgrqmapplFH5DR1BhjMN Jf+KVLWtiRIKlCGYR++ChVqgvqKDTV8pA4rY9xgidUrH3fbRMV1YBkE78bNEV+jfp0U3 OJHNB7S+cuAL7Du9xHQxQC1n8F+kJnO9Zjochvn9J7FEC7kmcRuuI1aYdrjv3WAaotW/ udbFyyT0c5l6hMiczWrVjA6ho0qiLoUvxxxI6HK67haKtPJO+f+YtBHNpCeYQ5e4KBtf f+2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=TxH7oAz9; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i11si1870419edk.574.2021.04.21.06.03.27; Wed, 21 Apr 2021 06:03:50 -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=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=TxH7oAz9; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239577AbhDUMGR (ORCPT + 99 others); Wed, 21 Apr 2021 08:06:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239538AbhDUMGM (ORCPT ); Wed, 21 Apr 2021 08:06:12 -0400 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 739C0C06174A for ; Wed, 21 Apr 2021 05:05:38 -0700 (PDT) Received: by mail-ej1-x635.google.com with SMTP id l4so63097992ejc.10 for ; Wed, 21 Apr 2021 05:05:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=MRPJS1ijITk2FOQ9jFOtPrHo+61HYV+8yTL1dDNYHhg=; b=TxH7oAz9J7xB9yjMFVUrNyASbL0yCLVBFWU+m3D5imK63lIlt6ybraK7fS7gQfeC2h mNJBEL8Q3lTukmpnbCfm6CA5jUVr+hXjvjcDJAzGoY6lmwxpXIQLWzPpPkuBEne3ijpL /iDO8YrxA3JL4OqM+959s1NY+tJVo8FR8Pb9XdqTNV/H+7Tg39Utlwu7bgU1C1y7XcpR +P1rXy9ruqD/X01ib84GAlIfbNHIAix/00CnoHSDsZpPTbI8cdY0rA/+w2OAAPfjmJ5E 2rtojgTPMnRdzsOcNB070nPsOCbZpWIe9g3yDhLyerM16NBgnPqfmwACnM4lnfFB+Mbz n6uA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=MRPJS1ijITk2FOQ9jFOtPrHo+61HYV+8yTL1dDNYHhg=; b=uBzr/thpGwTwHa3A22qi58uwGBNdmuU/rdr61GCsWd9+RO2f0KL3yU737hEVAs/ff+ 9oVeaIV9ivhUlw/gNRb63Dl3WwDx/+FuYFmnTPN76qY6NK7As/dkJceOzhc9wW21Y1g4 Yn3yugbFmnk5GozMoe4iIFgwwPEM9RVKxQftFgUjcjn5wF8StQ78sCNlt7BwUhV7KNBh 5vqOTGvHWOQoytx9KDPtEV0tIpsv8DXg8/AJON03FzHqam4D/Sv4YdV57CqqfrOj0oui ppjoHnRCk02e+hmcOAUBiC15YUnSaNmSRdsgpKk62i6g+7f9PEdsBnGa7Z6nQijIxSw9 1O3g== X-Gm-Message-State: AOAM533ozvIqZgw6u4PD1GF/TUh2udB8mJTW69wPwGpYXof0r09VxRZZ XrnwM+EG5ZTM9Rf4NkQq6fgBYQ== X-Received: by 2002:a17:907:294f:: with SMTP id et15mr32179306ejc.14.1619006737133; Wed, 21 Apr 2021 05:05:37 -0700 (PDT) Received: from localhost.localdomain (82-65-169-74.subs.proxad.net. [82.65.169.74]) by smtp.googlemail.com with ESMTPSA id n2sm3151431edi.32.2021.04.21.05.05.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Apr 2021 05:05:36 -0700 (PDT) From: Jerome Brunet To: Mark Brown Cc: Jerome Brunet , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Stephen Boyd Subject: [PATCH v2 0/5] ASoC: clock provider clean-up Date: Wed, 21 Apr 2021 14:05:07 +0200 Message-Id: <20210421120512.413057-1-jbrunet@baylibre.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-Patchwork-Bot: notify Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The purpose of this patchset it remove the use the clk member of 'struct clk_hw' in ASoC. 'struct clk' is a per-user reference to an actual clock. In the future, the clk member in 'struct clk_hw' may go away. The usage of this member by a clock provider usually falls into either of following categories: * Mis-usage of the clock consumer API by a clock provider. * Clock provider also being a user of its own clocks. In this case the provider should request a 'struct clk' through the appropriate API instead of poking in 'struct clk_hw' internals. v1 [0] -> v2: * finalize lpass provider move to devm [0]: https://lore.kernel.org/r/20210410111356.467340-1-jbrunet@baylibre.com Jerome Brunet (5): ASoC: stm32: properly get clk from the provider ASoC: wcd934x: use the clock provider API ASoC: rt5682: clock driver must use the clock provider API ASoC: lpass: use the clock provider API ASoC: da7219: properly get clk from the provider sound/soc/codecs/da7219.c | 5 ++++- sound/soc/codecs/lpass-va-macro.c | 7 ++----- sound/soc/codecs/lpass-wsa-macro.c | 11 +++-------- sound/soc/codecs/rt5682.c | 6 +++--- sound/soc/codecs/wcd934x.c | 6 ++++-- sound/soc/stm/stm32_sai_sub.c | 5 ++++- 6 files changed, 20 insertions(+), 20 deletions(-) -- 2.31.1