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

Commit a7700690 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "scsi: ufs: Allowing power mode change"

parents 9cbcfc32 1d8227c7
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -2121,9 +2121,13 @@ static int ufshcd_link_startup(struct ufs_hba *hba)
			goto out;
	} while (ret && retries--);

	if (ret)
	if (ret) {
		/* failed to get the link up... retire */
		goto out;
	} else {
		ufshcd_dme_set(hba, UIC_ARG_MIB(TX_LCC_ENABLE), 0);
		ufshcd_dme_set(hba, UIC_ARG_MIB(TX_LCC_ENABLE), 1);
	}

	/* Include any host controller configuration via UIC commands */
	if (hba->vops && hba->vops->link_startup_notify) {
+5 −0
Original line number Diff line number Diff line
@@ -12,6 +12,11 @@
#ifndef _UNIPRO_H_
#define _UNIPRO_H_

/*
 * M-TX Configuration Attributes
 */
#define TX_LCC_ENABLE		0x2C

/*
 * PHY Adpater attributes
 */