]> git.baikalelectronics.ru Git - kernel.git/commit
usb: musb: unconditionally save and restore the context on suspend
authorDaniel Mack <zonque@gmail.com>
Mon, 25 Nov 2013 21:26:40 +0000 (22:26 +0100)
committerFelipe Balbi <balbi@ti.com>
Tue, 26 Nov 2013 16:35:15 +0000 (10:35 -0600)
commitfa9ff6a33e8c9a3a0dd325470adfe239ceb96f67
tree67f111f054b8ae3b1658644d3ff46c3c9ba4e626
parent266786267f57df921e05d8c2f90b24b0a97e9fd9
usb: musb: unconditionally save and restore the context on suspend

It appears not all platforms featuring a musb core need to save the musb
core registers at suspend time and restore them on resume.

The dsps platform does, however, and because it shouldn't cause any
trouble on other platforms, do it unconditionally for all of them.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_core.c