Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0949e032 authored by Veerabhadrarao Badiganti's avatar Veerabhadrarao Badiganti Committed by Sarthak Garg
Browse files

mmc: sdhci-msm: Skip PWRSAVE_DLL setting for sdcc minor verion 0x4D



Skip PWRSAVE_DLL setting for sdcc minor version 0x4D.
SDCC controller with this minor version on few MSM uses 14lpp DLL.
So we should skip setting this.

Change-Id: I5e7b95c88e44a65b26acc0fcf353fb3ba7d0b0eb
Signed-off-by: default avatarVeerabhadrarao Badiganti <vbadigan@codeaurora.org>
Signed-off-by: default avatarSarthak Garg <sartgarg@codeaurora.org>
parent 2879a449
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2012-2020, The Linux Foundation. All rights reserved.
 * Copyright (c) 2012-2021, The Linux Foundation. All rights reserved.
 *
 * drivers/mmc/host/sdhci-msm.c - Qualcomm Technologies, Inc. MSM SDHCI Platform
 * driver source file
@@ -5148,7 +5148,7 @@ static void sdhci_set_default_hw_caps(struct sdhci_msm_host *msm_host,
	 * starts coming.
	 */
	if ((major == 1) && ((minor == 0x42) || (minor == 0x46) ||
				(minor == 0x49) || (minor >= 0x6b)))
			(minor == 0x49) || (minor == 0x4D) || (minor >= 0x6b)))
		msm_host->use_14lpp_dll = true;

	/* Fake 3.0V support for SDIO devices which requires such voltage */