Received: by 10.192.165.148 with SMTP id m20csp1710321imm; Thu, 3 May 2018 04:16:35 -0700 (PDT) X-Google-Smtp-Source: AB8JxZratpx0gKpihI0N8KYCtxlFSF3LVPifYzohnm/gDNsE2iAm4o5wnu/ja9hKjIVBaly20RI4 X-Received: by 10.98.67.83 with SMTP id q80mr22752168pfa.228.1525346195285; Thu, 03 May 2018 04:16:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525346195; cv=none; d=google.com; s=arc-20160816; b=VOtUJknW3yGp+8C3Ncn84brAmurD/Ja5fUDuahKJalhyZWF9cnoct72TH36w3yzixp fU14Akq+BCZpOZVE6MZcq7tqNp3SOogY6hU97USH5V8lPp3pQenp8vfY/0t23/nyxY6G 26Kyh/mRcX1hdZPK5ljcH9077rcJJ7mBCVyO/XTyct5o+Ha5b/MEK+kVLhxifgQXk7Ca Ur+GUdFcSWhl1LFbfQZIR2qJmTNfe8d+So68nEuJC8UJXJlkMG37xFhuyzWITJiVr9k5 HeyGzwpY/Z7TF2SqmdMoYmuPiW84UzAdQmU272+5M2kmj+XNR8eYL1WfjkXMFE2c32Oc aLDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=F8KvoFzeqCbeZ9wNTn+cC1x+XmhiibSLGICbyeF/0vI=; b=rei5oH/fZU8fpD6TN2X5oRWMvTF4CZjpLUAJXK36qQrPUzETZXqHcs6lJMX5wclJB6 GtqE6xRRD8WMJXf4/TnlZ+lnvL8hWdXrdakkwhY1BytgwWOQxqbSHPw1A+CBk5QePlhq 1JdECnbC6jqk0xmPlry+RGuT3ytVJinR/WxeV3GKUT7w8UxhKc0/gMnm8k+faN4gWTnx ailUAd0xvHXDYZtL8klWlorXtzTIMiYXmoEtnuz0g8ed+i3FOQT6lMP55M7U9GtOXue0 7MS9kge20uW9bP6tPnl06OJTIfy5Zn3ubbjxBhkRXpfLvflGPIXN6VYckyKW9RC7HhyK 5q3w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 32-v6si14316525ple.282.2018.05.03.04.16.21; Thu, 03 May 2018 04:16:35 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751419AbeECLOL (ORCPT + 99 others); Thu, 3 May 2018 07:14:11 -0400 Received: from alexa-out-tai-02.qualcomm.com ([103.229.16.227]:53487 "EHLO alexa-out-tai-02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751360AbeECLOH (ORCPT ); Thu, 3 May 2018 07:14:07 -0400 X-Greylist: delayed 375 seconds by postgrey-1.27 at vger.kernel.org; Thu, 03 May 2018 07:14:07 EDT X-IronPort-AV: E=Sophos;i="5.49,358,1520870400"; d="scan'208";a="447807" Received: from ironmsg01-tai.qualcomm.com ([10.249.140.6]) by alexa-out-tai-02.qualcomm.com with ESMTP; 03 May 2018 19:07:50 +0800 X-IronPort-AV: E=McAfee;i="5900,7806,8881"; a="7302704" Received: from asutoshd-linux.qualcomm.com ([10.206.24.163]) by ironmsg01-tai.qualcomm.com with ESMTP; 03 May 2018 19:07:38 +0800 Received: by asutoshd-linux.qualcomm.com (Postfix, from userid 92687) id E181F2E88; Thu, 3 May 2018 16:37:37 +0530 (IST) From: Asutosh Das To: subhashj@codeaurora.org, cang@codeaurora.org, vivek.gautam@codeaurora.org, rnayak@codeaurora.org, vinholikatti@gmail.com, jejb@linux.vnet.ibm.com, martin.petersen@oracle.com, asutoshd@codeaurora.org, linux-mmc@vger.kernel.org Cc: linux-scsi@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org (open list) Subject: [PATCH v2 02/10] scsi: ufs-qcom: Enable UFSHCD_QUIRK_BROKEN_PWR_MODE_CHANGE quirk Date: Thu, 3 May 2018 16:37:14 +0530 Message-Id: X-Mailer: git-send-email 1.9.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable UFSHCD_QUIRK_BROKEN_PWR_MODE_CHANGE quirk to avoid failures in seen on some UFS devices. Signed-off-by: Asutosh Das --- drivers/scsi/ufs/ufs-qcom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/ufs/ufs-qcom.c b/drivers/scsi/ufs/ufs-qcom.c index 4563d2e..d9edef8 100644 --- a/drivers/scsi/ufs/ufs-qcom.c +++ b/drivers/scsi/ufs/ufs-qcom.c @@ -1105,7 +1105,7 @@ static void ufs_qcom_advertise_quirks(struct ufs_hba *hba) if (host->hw_ver.major >= 0x2) { hba->quirks |= UFSHCD_QUIRK_BROKEN_UFS_HCI_VERSION; - + hba->quirks |= UFSHCD_QUIRK_BROKEN_PWR_MODE_CHANGE; if (!ufs_qcom_cap_qunipro(host)) /* Legacy UniPro mode still need following quirks */ hba->quirks |= (UFSHCD_QUIRK_DELAY_BEFORE_DME_CMDS -- Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project.