• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

linux-3.0.x for AP-SH4A-0A Board


Commit MetaInfo

Revision0f231ea4d4505adfcbe949e6716eb0d02e2c14a5 (tree)
Time2011-08-05 13:58:32
AuthorAjay Kumar Gupta <ajay.gupta@ti.c...>
CommiterGreg Kroah-Hartman

Log Message

usb: musb: restore INDEX register in resume path

commit 3c5fec75e121b21a2eb35e5a6b44291509abba6f upstream.

Restoring the missing INDEX register value in musb_restore_context().
Without this suspend resume functionality is broken with offmode
enabled.

Acked-by: Anand Gadiyar <gadiyar@ti.com>
Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

Change Summary

Incremental Difference

--- a/drivers/usb/musb/musb_core.c
+++ b/drivers/usb/musb/musb_core.c
@@ -2329,6 +2329,7 @@ static void musb_restore_context(struct musb *musb)
23292329 musb->context.index_regs[i].rxhubport);
23302330 }
23312331 }
2332+ musb_writeb(musb_base, MUSB_INDEX, musb->context.index);
23322333 }
23332334
23342335 static int musb_suspend(struct device *dev)