Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp367839pxf; Wed, 10 Mar 2021 07:59:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJxKCS/c6y05xvxnyj2IxwuXnAa+WsbUQGv/gyWxV1BZuBisk1BHYmV/JZkVYvpNu211Fhhs X-Received: by 2002:a50:cdd1:: with SMTP id h17mr4121303edj.178.1615391943850; Wed, 10 Mar 2021 07:59:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615391943; cv=none; d=google.com; s=arc-20160816; b=Y7dvZ8SIeTSUs2otPlKFupdEDQusyF824DPZZubJHlG6nVtU4BXcUtJ3lqB/66GYCD Wf+7FpjrHxQcG00/5rBvmNlLdmJ9DFCDbO5+ZP+s///EjVKOdtscD0NB2j1TJj7M2Gc5 iBYvZlPglGllbH9qebEwPY9iNWG3yxNCCxPy/g1qUS6W+zwSt9H7xJxBlT4VgOBEFjGA 8EW01gl+TDcVQJ+Urvh2VmRXw9N6n24ylUTm8Cb48UH2Sz1jwwW1/z0fdBx6lJmVZsyO Q7FaukJ/VGnnmssT/cQPsmfpgK7ubhBBEw8H0nR/s93PPEy7MLEOiRv5XCQOLxoDZOiK 9Udg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=dm+U4X4EOZxEx+9CgGj+1LJA+tv3/55FfGG9lW8Ffdk=; b=B4CFSqX+csnngWrom4g/vJvnKz4jvtkBTd8qqPZ22fve4RFOzJk5md1nD77JLr+sfE Jd3XIlICdOsBdGBxyMO5taQgPAUc9gPYHEJbwuaYKFwSoId/90ZPPuNM0EF55LOb5uc1 0jujUxGmFDPFI+Bw5mEaQyYGVDAyWrPdu6j/9t053wDNeNwffBvQPE/NAUiNy2RJwh0T u2juv/HpvLb8F813IX2BfJ1CvQSWtNFLEh4qCEY3ge4+hIa1KHx8j2V3yLwEF8xaURnh qUFx3SuiAsWFUt6ZeHTKQk/sZJ4/TGBIGS586cuEgUgG+WSYSYW5dIgMrEGerwvOoTux udAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Zhb8WPS2; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dc18si11970113ejb.636.2021.03.10.07.58.40; Wed, 10 Mar 2021 07:59:03 -0800 (PST) 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=@ti.com header.s=ti-com-17Q1 header.b=Zhb8WPS2; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233234AbhCJPzZ (ORCPT + 99 others); Wed, 10 Mar 2021 10:55:25 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:50368 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232940AbhCJPzS (ORCPT ); Wed, 10 Mar 2021 10:55:18 -0500 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 12AFtANJ071321; Wed, 10 Mar 2021 09:55:10 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1615391710; bh=dm+U4X4EOZxEx+9CgGj+1LJA+tv3/55FfGG9lW8Ffdk=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Zhb8WPS2KOTvRel1/RxPtFnx0IhqUkyODogfUFTVgvui80jLTCyKbqo6iHIP3PgC9 cSBElsGYwd1/5Hg6Gw+vdLjCFVoFfuD2xU1UncrCXtIlnZeu6yql+sQQixx3r+8tWb Yn02EpzLR1aQIYR/48q6fjA+LR6QjZyVJKNWfIk4= Received: from DFLE101.ent.ti.com (dfle101.ent.ti.com [10.64.6.22]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 12AFtAYH029708 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 10 Mar 2021 09:55:10 -0600 Received: from DFLE101.ent.ti.com (10.64.6.22) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Wed, 10 Mar 2021 09:55:10 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2 via Frontend Transport; Wed, 10 Mar 2021 09:55:10 -0600 Received: from a0393678-ssd.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 12AFsq5l082613; Wed, 10 Mar 2021 09:55:07 -0600 From: Kishon Vijay Abraham I To: Kishon Vijay Abraham I , Vinod Koul , Rob Herring , Philipp Zabel , Swapnil Jakhade CC: , , Lokesh Vutla , Subject: [PATCH 4/4] phy: cadence-torrent: Explicitly request exclusive reset control Date: Wed, 10 Mar 2021 21:24:45 +0530 Message-ID: <20210310155445.534-5-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210310155445.534-1-kishon@ti.com> References: <20210310155445.534-1-kishon@ti.com> MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org No functional change. Since the reset controls obtained in Torrent is exclusively used by the Torrent device, use exclusive reset control request API calls. Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/cadence/phy-cadence-torrent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/phy/cadence/phy-cadence-torrent.c b/drivers/phy/cadence/phy-cadence-torrent.c index 5ee1657f5a1c..ff8bb4b724c0 100644 --- a/drivers/phy/cadence/phy-cadence-torrent.c +++ b/drivers/phy/cadence/phy-cadence-torrent.c @@ -2264,7 +2264,7 @@ static int cdns_torrent_reset(struct cdns_torrent_phy *cdns_phy) return PTR_ERR(cdns_phy->phy_rst); } - cdns_phy->apb_rst = devm_reset_control_get_optional(dev, "torrent_apb"); + cdns_phy->apb_rst = devm_reset_control_get_optional_exclusive(dev, "torrent_apb"); if (IS_ERR(cdns_phy->apb_rst)) { dev_err(dev, "%s: failed to get apb reset\n", dev->of_node->full_name); -- 2.17.1