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)
commitc338412b5dedf405d3f8ba3af1a61fa623319e1d
tree67f111f054b8ae3b1658644d3ff46c3c9ba4e626
parente0a6104e066595bcf791381a23b568ab0a890707
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