mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
usb: musb: restore INDEX register in resume path
Restoring the missing INDEX register value in musb_restore_context(). Without this suspend resume functionality is broken with offmode enabled. Cc: [email protected] Acked-by: Anand Gadiyar <[email protected]> Signed-off-by: Ajay Kumar Gupta <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
This commit is contained in:
parent
ac17317d20
commit
3c5fec75e1
1 changed files with 1 additions and 0 deletions
|
|
@ -2282,6 +2282,7 @@ static void musb_restore_context(struct musb *musb)
|
|||
musb->context.index_regs[i].rxhubport);
|
||||
}
|
||||
}
|
||||
musb_writeb(musb_base, MUSB_INDEX, musb->context.index);
|
||||
}
|
||||
|
||||
static int musb_suspend(struct device *dev)
|
||||
|
|
|
|||
Loading…
Reference in a new issue