From patchwork Thu Mar 21 08:54:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Yongjun X-Patchwork-Id: 1059892 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=huawei.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 44Q0fS35ygz9sRf for ; Thu, 21 Mar 2019 19:42:40 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727916AbfCUImj (ORCPT ); Thu, 21 Mar 2019 04:42:39 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:56832 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726523AbfCUImj (ORCPT ); Thu, 21 Mar 2019 04:42:39 -0400 Received: from DGGEMS401-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id BD7CBC2C4B610DF8AE31; Thu, 21 Mar 2019 16:42:36 +0800 (CST) Received: from localhost.localdomain.localdomain (10.175.113.25) by DGGEMS401-HUB.china.huawei.com (10.3.19.201) with Microsoft SMTP Server id 14.3.408.0; Thu, 21 Mar 2019 16:42:28 +0800 From: Wei Yongjun To: JC Kuo , Kishon Vijay Abraham I , "Thierry Reding" , Jonathan Hunter CC: Wei Yongjun , , , Subject: [PATCH -next] phy: tegra: xusb: fix typo in tegra186_usb2_pad_probe() Date: Thu, 21 Mar 2019 08:54:36 +0000 Message-ID: <20190321085436.94975-1-weiyongjun1@huawei.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Originating-IP: [10.175.113.25] X-CFilter-Loop: Reflected Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org Fix a typo in tegra186_usb2_pad_probe(), 'usb2->clk' should be 'priv->usb2_trk_clk'. Fixes: b8998e928030 ("phy: tegra: xusb: Add Tegra186 support") Signed-off-by: Wei Yongjun Acked-by: Thierry Reding --- drivers/phy/tegra/xusb-tegra186.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/phy/tegra/xusb-tegra186.c b/drivers/phy/tegra/xusb-tegra186.c index 11ad6e4e4711..a627fe0b8e54 100644 --- a/drivers/phy/tegra/xusb-tegra186.c +++ b/drivers/phy/tegra/xusb-tegra186.c @@ -467,8 +467,8 @@ tegra186_usb2_pad_probe(struct tegra_xusb_padctl *padctl, } priv->usb2_trk_clk = devm_clk_get(&pad->dev, "trk"); - if (IS_ERR(usb2->clk)) { - err = PTR_ERR(usb2->clk); + if (IS_ERR(priv->usb2_trk_clk)) { + err = PTR_ERR(priv->usb2_trk_clk); dev_dbg(&pad->dev, "failed to get usb2 trk clock: %d\n", err); goto unregister; }