commit | 1e393c6eece048052d4131ec4dad3b98e35a98e2 | [log] [tgz] |
---|---|---|
author | Bob Liu <lliubbo@gmail.com> | Sun Oct 24 11:10:14 2010 -0500 |
committer | Felipe Balbi <balbi@ti.com> | Fri Nov 05 14:10:57 2010 +0200 |
tree | 4025b0bea317aee755a4f858b4fbed83030df48b | |
parent | 32d5dc9520f0c6f60f691dd478741c774e292406 [diff] |
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 <lliubbo@gmail.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Felipe Balbi <balbi@ti.com>