OSDN Git Service

usb: musb: da8xx: Add support of suspend / resume
authorAlexandre Bailon <abailon@baylibre.com>
Thu, 2 Feb 2017 03:30:18 +0000 (21:30 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Feb 2017 09:05:10 +0000 (10:05 +0100)
commit71f5a0ad9e82c1239f0d748bda32a4b6e6dbcb80
tree904267cbb2fb6ac2ea9af7642e349b341ce533fa
parentca7c1d5094ec1c425bd9a38153789f9cedb0b8e2
usb: musb: da8xx: Add support of suspend / resume

Implement PM methods specifics for da8xx glue.
The only thing to do is to power off the phy.
As the registers are in retention during suspend,
there is no need to save them.

Signed-off-by: Alexandre Bailon <abailon@baylibre.com>
Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/musb/da8xx.c