Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1613069ybl; Sun, 19 Jan 2020 07:09:30 -0800 (PST) X-Google-Smtp-Source: APXvYqwPJOL8M8JLIIbJ5a8x1fIgFmIkKVR5ht3iZ6ohoLm4mcA/YXJ2kUGgq+aYWQ/ZgLA5rtrn X-Received: by 2002:a9d:7090:: with SMTP id l16mr13335957otj.187.1579446570117; Sun, 19 Jan 2020 07:09:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579446570; cv=none; d=google.com; s=arc-20160816; b=sJkTrGGyhhjpRq13DdeDQXu8LVaUsGYFKapBQscFPUp1DZJzhq+mp4KfAi+5o7iLf+ 6MXR6p87hahKp29DprSmSPoVkujS+U7uZxawrxLMaK98KPa/RO2C0LaftEMATTKE7hFO 9albK3d8pBuItqEs7TIiIV02DDOna9Ydn127zL22aiMAUi9E91ncOu5E9UxoqOJUt/kX KJwImepiZCBBf7zQaGDpR0lMTxN8TUkG1zbXdeZcn9YZbLQARYV/5ct4kUGNrKnmLKoo NYEd6FMTq1oR5CzTA0HKMoyYsalUNzM55meQ7fvMXmreKkzr4g+ns6OXbADLFT9mYH2q DgKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=+7KYOQATip0h7rnxmjkNNHlDrDfQnXI4lJLsaS+raAU=; b=0TJ7SS72x7HEWPfs0ebR7MAS2GvUsc123WVoFo2fMc6H2wFSqCce5w7IO/MqCignjd S2tmgaLp3Lyn+fnFKLvKG69rtYQMklG7akghrxN0MvEMcqke8jQSWMzzY3s2V7RCxnfi PNt5hp5/0HUR+FIsWSKrrqrPPfPpLNsov5HwCpOlcbafLbue/mhDBFG8CoieJ+pLKLgI KhDq9zvfhWZJeIVUlirP3qY9dWc/w5zoKfh9Noj6OFvh/Xxf+FA2OziyX/j2KAd6FvBy sPcZyy40pVF+9+HwxSogiUTbi80P0VGGqSMbazaXDfxIoLpaRND9WY6Y5NcnhzGdg9dS JuhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MxJZParO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p20si20050841otk.73.2020.01.19.07.09.18; Sun, 19 Jan 2020 07:09:30 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MxJZParO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727144AbgASPIX (ORCPT + 99 others); Sun, 19 Jan 2020 10:08:23 -0500 Received: from mail-lf1-f67.google.com ([209.85.167.67]:37212 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726860AbgASPIX (ORCPT ); Sun, 19 Jan 2020 10:08:23 -0500 Received: by mail-lf1-f67.google.com with SMTP id b15so21982798lfc.4; Sun, 19 Jan 2020 07:08:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=+7KYOQATip0h7rnxmjkNNHlDrDfQnXI4lJLsaS+raAU=; b=MxJZParODgEJH45y9oOfXM7GvrC92kSHtOfJj9qLBsTV5Gjvx+hMl3shhVNTKqhHif lz6xh9cWVVJqY4AAVhmPo6vdTLchPKHN597LaXLycAc/q+ZiSGPAHgQw9fBpPzynJkEr Rdf0LRaZRh8pC6YSiIx+3AxHOYacj0Y2o6jM+MAIRmqgPeGxotWwTAzfiZZ5uLv91SSX /yY62WyNMa33+8IFHOeaxQCF9keawKV+Pz84NYqRxkjVYqMEArtxsPVfXAo0Q0VOZv0F fYZJswUCJ5CVqtArI2odv9LfQmtUlHWij/WFG0AbEgAfsauBzOIp9tPYNxP06aqiS0lX YZoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=+7KYOQATip0h7rnxmjkNNHlDrDfQnXI4lJLsaS+raAU=; b=pliYhwbvUH/Qa2mJQsVs3KOj9iSrV1Vf9Q5ldwVPeB7WG0wyHTddNBZtt80gRuSnpO 465qm2W4hEAeZwKIcKcgqW7+iu66y42lD/OAem/ucFGazerL+TIludKQi4+wITCZ6Yp+ ILHkrDTssAO5F3jFLKOKsto/WHt7jOC4TmYjmkLat76xmlVkYiXo2SnLsfM09GS3VKRt 19ks2a7CVaBq24QfGVjo7QB5sbooZglHmsLjLmI5iuQW/15bOYIXBehfAoZzZQOAvUY/ eq0tGMedHoH4/L6a+lPz2x+QZGq8iZHoYjQgYCvs06n+pOaCi6P2Y32gw0WhL/sGOE4D tcTA== X-Gm-Message-State: APjAAAX0aolXwhhgpeaPQHoD1pQZpoNr2yQd8xJ1ASsgkC6HEf9XA81r gewikawhzVrTPNsGJVcbLZDjcPR5 X-Received: by 2002:a19:7502:: with SMTP id y2mr10852990lfe.55.1579446500102; Sun, 19 Jan 2020 07:08:20 -0800 (PST) Received: from [192.168.2.145] (79-139-233-37.dynamic.spd-mgts.ru. [79.139.233.37]) by smtp.googlemail.com with ESMTPSA id x23sm15277240lff.24.2020.01.19.07.08.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 19 Jan 2020 07:08:19 -0800 (PST) Subject: Re: [PATCH v8 11/22] ASoC: tegra: Add fallback implementation for audio mclk To: Sowjanya Komatineni , thierry.reding@gmail.com, jonathanh@nvidia.com, broonie@kernel.org, lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, mperttunen@nvidia.com, gregkh@linuxfoundation.org, sboyd@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com Cc: pdeschrijver@nvidia.com, pgaikwad@nvidia.com, spujar@nvidia.com, josephl@nvidia.com, daniel.lezcano@linaro.org, mmaddireddy@nvidia.com, markz@nvidia.com, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org References: <1578986667-16041-1-git-send-email-skomatineni@nvidia.com> <1578986667-16041-12-git-send-email-skomatineni@nvidia.com> From: Dmitry Osipenko Message-ID: Date: Sun, 19 Jan 2020 18:08:18 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.3.0 MIME-Version: 1.0 In-Reply-To: <1578986667-16041-12-git-send-email-skomatineni@nvidia.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 14.01.2020 10:24, Sowjanya Komatineni пишет: > mclk is from clk_out_1 which is part of Tegra PMC block and pmc clocks > are moved to Tegra PMC driver with pmc as clock provider and using pmc > clock ids. > > New device tree uses clk_out_1 from pmc clock provider as audio mclk. > > So, this patch adds implementation for mclk fallback to extern1 when > retrieving mclk returns -ENOENT to be backward compatible of new device > tree with older kernels. > > Fixes: 110147c8c513 ("ASoC: tegra: always use clk_get() in utility code") I don't think that it is correct to use the Fixes tag here because this patch doesn't fix any real problem of the referenced commit, instead the Stable CC tag should be used. > Tested-by: Dmitry Osipenko > Reviewed-by: Dmitry Osipenko > Signed-off-by: Sowjanya Komatineni > ---[snip]