From: Daniel Mack Date: Tue, 26 Nov 2013 12:31:14 +0000 (+0100) Subject: usb: musb: dsps: add support for suspend and resume X-Git-Tag: v3.14-rc1~148^2~90^2~99 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=869c597829817af4b9f85c5e4181c622918dc781;p=pandora-kernel.git usb: musb: dsps: add support for suspend and resume The dsps platform needs to save save some registers at suspend time and restore them after resume. This patch adds a struct for these registers, and also lets the musb core know that the core registers need to be saved as well. We also have to explicitly de-assert the port reset upon resume on this platform, but musb_port_reset() should not be called from glue layers. Hence, introduce a flag in struct musb_hdrc_config for this. Signed-off-by: Daniel Mack Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed