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

Commit 334b7b5e authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "usb: pd: Remove log message from pd_timeout"

parents bd1514af 6f2593b7
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -900,11 +900,13 @@ static void kick_sm(struct usbpd *pd, int ms)
	pm_stay_awake(&pd->dev);
	pd->sm_queued = true;

	if (ms)
	if (ms) {
		usbpd_dbg(&pd->dev, "delay %d ms", ms);
		hrtimer_start(&pd->timer, ms_to_ktime(ms), HRTIMER_MODE_REL);
	else
	} else {
		queue_work(pd->wq, &pd->sm_work);
	}
}

static void phy_sig_received(struct usbpd *pd, enum pd_sig_type sig)
{
@@ -1170,7 +1172,6 @@ static enum hrtimer_restart pd_timeout(struct hrtimer *timer)
{
	struct usbpd *pd = container_of(timer, struct usbpd, timer);

	usbpd_dbg(&pd->dev, "timeout");
	queue_work(pd->wq, &pd->sm_work);

	return HRTIMER_NORESTART;