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

Commit fa6997d3 authored by Daniel Mack's avatar Daniel Mack Committed by Felipe Balbi
Browse files

usb: musb: fix musb pointer acqusition in musb_host_finish_resume



This is a fall-out from "usb: musb: finish suspend/reset work
independently from musb_hub_control()" that I missed because the
MUSB_POWER register does not have the MUSB_POWER_SUSPENDM bit set on
AM335x platforms; hence the code path was not travelled in my tests.

Signed-off-by: default avatarDaniel Mack <zonque@gmail.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 071f58b3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@ void musb_host_finish_resume(struct work_struct *work)
	unsigned long flags;
	u8 power;

	musb = container_of(work, struct musb, deassert_reset_work.work);
	musb = container_of(work, struct musb, finish_resume_work.work);

	spin_lock_irqsave(&musb->lock, flags);