usb: musb: Add missing PM suspend and resume functions for 2430 glue
authorTony Lindgren <tony@atomide.com>
Tue, 18 May 2021 07:44:49 +0000 (10:44 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 May 2021 12:07:16 +0000 (14:07 +0200)
commit62d472d8ad886d3e3fe2da20ba0965f8628513db
tree30abb35c2f7f2d5b770d66548b5ebb3ca46226d2
parentc5c7489dc98296841fdf4fc4bfc52727a2057f24
usb: musb: Add missing PM suspend and resume functions for 2430 glue

Looks like we are missing suspend and resume functions for pm_ops that
are needed to idle the hardware for system suspend for 2430 glue layer.

We can rely on the driver internal PM runtime state, and call driver
functions to idle the hardware on suspend if needed. There is no need
to add a dependency to PM runtime for system suspend here.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Link: https://lore.kernel.org/r/20210518074449.17070-1-tony@atomide.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/musb/omap2430.c