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

Commit b15359df authored by Linyu Yuan's avatar Linyu Yuan
Browse files

usb: misc: NB7VPQ904M : do not disable chip for no usb func hub suspend



There is DP HUB which have no usb function, when suspend, do not disable
chip which will keep dp signal path working for display requirement.

Change-Id: I79bf70eac40ccaa54716285cec4fbfa2e2ec34f6
Signed-off-by: default avatarLinyu Yuan <linyyuan@codeaurora.org>
parent 7e711cbf
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1142,8 +1142,8 @@ static int __maybe_unused redriver_i2c_suspend(struct device *dev)
			__func__);

	/* Disable redriver chip when USB cable disconnected */
	if ((!redriver->vbus_active)
			&& (!redriver->host_active))
	if (!redriver->vbus_active && !redriver->host_active &&
	    redriver->op_mode != OP_MODE_DP)
		ssusb_redriver_gen_dev_set(redriver, false);

	flush_workqueue(redriver->redriver_wq);