From patchwork Fri Dec 20 10:17:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 182230 Delivered-To: patch@linaro.org Received: by 2002:a92:1f98:0:0:0:0:0 with SMTP id f24csp325879ilf; Fri, 20 Dec 2019 02:17:54 -0800 (PST) X-Google-Smtp-Source: APXvYqwDxtI/jox72hTgbrs8nRJ/B7RWDRmLcvtr9tYAgXk7Ryr4Xz008hOHjVujfytMHoe8sjwM X-Received: by 2002:a9d:6f82:: with SMTP id h2mr14163632otq.69.1576837074422; Fri, 20 Dec 2019 02:17:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576837074; cv=none; d=google.com; s=arc-20160816; b=sil2VD3XTJMGjwH3jeiqaMWSL1eTdcyWvyhxGowECiZjHybCHjpbr5BrqG2c0KSaXc i3G3G68RpJ0X2vRI9N40/1OupwCSmNuWkoabgLTWBbVq7K20X1UyF9ArrRs8swkmlShq Mvn4QqkpirGIZ/tg8tZIL6ZWKxdw/TPPZQ73pZX4tbn2sJxiv2a/IbdLNrP9cciwZfYe VsicQZHA3gK/1vn3laB4cRlTJW5LhTP5vu2WW8PdBJ9+6tGwDBjvtRvSTLA5v1JUCqCt KNbVjBkjgJpcK+Zl9PICWVxhz71vuwR7f+U+yg/DskJQmtTQygiHqTk2SvIQn6s+KChK SPxQ== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=taa0aEold4qGmLVO8d8wjYqY83nyZQX18qrEuLXgJKM=; b=sFxByXIG0Pj7g3HtKbJrurzwq3DuzFcsnnoY06AFfwjtIKhmdt6b9WYJRsLVrCRuDG NfE9UilozXNyVXVSziJFmCKs7smyKI7amR1qPrJ5Ly7ISYezY/VEUPMu72MeFnNpzxMi 540uyYjiiefriwTZKHKA5S80KKQbwgGFPf3U4wGe3Gs3ME1Z/wvOnGcPnOz2MbT2vQOk 9sNh2gs9WqGtx3dDSq8Xpc0BNnsOBJNeFkYQFYKWpyGVGouMk8GWEy5GI0ZbvdCLHJdt wl/+P6ZcpcfA49g88ZjLbUrJPE8IRa2r7im/Cir1l4PUk+4eWLE8M6POT7MrP4dK0jE0 8MGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=zzBFMGgg; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h14si5211876otn.6.2019.12.20.02.17.54; Fri, 20 Dec 2019 02:17:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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=@kernel.org header.s=default header.b=zzBFMGgg; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1727437AbfLTKRx (ORCPT + 15 others); Fri, 20 Dec 2019 05:17:53 -0500 Received: from mail.kernel.org ([198.145.29.99]:53258 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727327AbfLTKRw (ORCPT ); Fri, 20 Dec 2019 05:17:52 -0500 Received: from localhost.localdomain (unknown [106.201.107.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 358CC2467F; Fri, 20 Dec 2019 10:17:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1576837072; bh=gWCt3r6TgCbriGXQfdsqIUuQ6iWj5AjVkeFPdeu1DoU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=zzBFMGgg36f7Qz2mrSyFRGxf0x4yGX+0VdWzI4numDiw5hJUtlw7aYyeXaoBwrMkK N1kbStn7uv2wCg5ZUgqAVV3bf8uiIZ3MKEUGSi7Z8zAskEwmqEoq2eKxk6kfVULp14 Y22Sn0XfWMpD+VJEPP37lGD/X1JCRJXzBVuVHtG0= From: Vinod Koul To: Kishon Vijay Abraham I Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , Vinod Koul , Andy Gross , Can Guo , Jeffrey Hugo , linux-kernel@vger.kernel.org Subject: [PATCH v2 4/5] phy: qcom-qmp: remove duplicate powerdown write Date: Fri, 20 Dec 2019 15:47:18 +0530 Message-Id: <20191220101719.3024693-5-vkoul@kernel.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191220101719.3024693-1-vkoul@kernel.org> References: <20191220101719.3024693-1-vkoul@kernel.org> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org We already write to QPHY_POWER_DOWN_CONTROL in qcom_qmp_phy_com_init() before invoking qcom_qmp_phy_configure() so remove the duplicate write. Signed-off-by: Vinod Koul Reviewed-by: Jeffrey Hugo Reviewed-by: Can Guo --- drivers/phy/qualcomm/phy-qcom-qmp.c | 1 - 1 file changed, 1 deletion(-) -- 2.23.0 diff --git a/drivers/phy/qualcomm/phy-qcom-qmp.c b/drivers/phy/qualcomm/phy-qcom-qmp.c index 47a66d55107d..2a12a0b3bd72 100644 --- a/drivers/phy/qualcomm/phy-qcom-qmp.c +++ b/drivers/phy/qualcomm/phy-qcom-qmp.c @@ -886,7 +886,6 @@ static const struct qmp_phy_init_tbl msm8998_usb3_pcs_tbl[] = { }; static const struct qmp_phy_init_tbl sm8150_ufsphy_serdes_tbl[] = { - QMP_PHY_INIT_CFG(QPHY_POWER_DOWN_CONTROL, 0x01), QMP_PHY_INIT_CFG(QSERDES_V4_COM_SYSCLK_EN_SEL, 0xd9), QMP_PHY_INIT_CFG(QSERDES_V4_COM_HSCLK_SEL, 0x11), QMP_PHY_INIT_CFG(QSERDES_V4_COM_HSCLK_HS_SWITCH_SEL, 0x00),