Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d8692748 authored by Hema HK's avatar Hema HK Committed by Felipe Balbi
Browse files

usb: otg: OMAP4430: Add phy_suspend function pointer to twl4030_usb_data



Declare the .phy_suspend function pointer to twl4030_usb_data structure.
OMAP internal phy suspend function will be hooked though this function
pointer to use in the transceiver driver.

Signed-off-by: default avatarHema HK <hemahk@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Paul Walmsley <paul@pwsan.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 31e9992a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -600,6 +600,8 @@ struct twl4030_usb_data {
	int		(*phy_power)(struct device *dev, int iD, int on);
	/* enable/disable  phy clocks */
	int		(*phy_set_clock)(struct device *dev, int on);
	/* suspend/resume of phy */
	int		(*phy_suspend)(struct device *dev, int suspend);
};

struct twl4030_ins {