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

Commit 85d856af authored by Linyu Yuan's avatar Linyu Yuan
Browse files

usb: misc: NB7VPQ904M : enable deep sleep power mode



when cable disconnect, it is better to disable chip which
put device into deep sleep mode to save power.

Change-Id: If17b9550d5aafb8be00b0352bca18f83b1400c49
Signed-off-by: default avatarLinyu Yuan <linyyuan@codeaurora.org>
parent 9cce346b
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -445,7 +445,6 @@ static int ssusb_redriver_vbus_notifier(struct notifier_block *nb,

	redriver->vbus_active = event;

	if (redriver->vbus_active)
	queue_work(redriver->redriver_wq, &redriver->config_work);

	return NOTIFY_DONE;
@@ -466,7 +465,6 @@ static int ssusb_redriver_id_notifier(struct notifier_block *nb,

	redriver->host_active = host_active;

	if (redriver->host_active)
	queue_work(redriver->redriver_wq, &redriver->config_work);

	return NOTIFY_DONE;