From: Bob Liu Date: Sun, 24 Oct 2010 16:10:14 +0000 (-0500) Subject: USB: musb: blackfin: pm: make it work X-Git-Tag: v2.6.37-rc2~23^2~12^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e393c6eece048052d4131ec4dad3b98e35a98e2;p=pandora-kernel.git USB: musb: blackfin: pm: make it work Split the USB MMR init steps out into a helper func that both the platform init and the resume code may call. Then while suspending, the gpio_vrsel will change from high to low which will generate a wakeup event and resume the system immediately, so we need to manually drive it low before we sleep. Signed-off-by: Bob Liu Signed-off-by: Mike Frysinger Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed