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

Commit 628b891f authored by Hemant Kumar's avatar Hemant Kumar Committed by Mayank Rana
Browse files

usb: dwc3: Fix LPM NYET Threshold value



highest possible LPM NYET threshold value is 0xf
because LPM_NYET_THRES uses 4 bits in DWC_USB3_DCTL
register. Value is incorrectly written as 0xff which
is overriding the value of other register bits.

Change-Id: Ib15fdfd01bf75fe6291b8fd2b0317e9b4c0c97c9
Signed-off-by: default avatarHemant Kumar <hemantk@codeaurora.org>
parent 741b9664
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1198,7 +1198,7 @@ static int dwc3_probe(struct platform_device *pdev)
	dwc->regs_size	= resource_size(res);

	/* default to highest possible threshold */
	lpm_nyet_threshold = 0xff;
	lpm_nyet_threshold = 0xf;

	/* default to -3.5dB de-emphasis */
	tx_de_emphasis = 1;