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: 11305139 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 83A6513B6 for ; Fri, 20 Dec 2019 10:17:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 616E324682 for ; Fri, 20 Dec 2019 10:17:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1576837074; bh=gWCt3r6TgCbriGXQfdsqIUuQ6iWj5AjVkeFPdeu1DoU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=nyjXjMBgH/pK8CNMUmeS5AlNrapwRwLO6WESzf1FHvxSDwUp4Bbg8P21wanwBvzWQ Iz9m7+KAIg3pkAcKa1OznPwvvFKc57ZfSSNgyU/tSJ3PnH5KxMuUSHrY9jSiPcFfQs lzDBLGMVqOn0/p/iLqyoI63GEa5tOch17nMfm83Y= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727437AbfLTKRx (ORCPT ); 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(-) 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),