mfd: omap-usb-tll: Move configuration code to omap_tll_init()
This is because we want to get rid of platform_data usage from probe(). The only information we need is PORT_MODE, and this can be supplied to us by the user (i.e. omap-usb-host.c). We also move channel clock management from runtime PM handlers into omap_tll_enable/disable(). Signed-off-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:

committed by
Samuel Ortiz

parent
662e469e91
commit
9f4a3ece05
@@ -1,2 +1,3 @@
|
||||
extern int omap_tll_enable(void);
|
||||
extern int omap_tll_disable(void);
|
||||
extern int omap_tll_init(struct usbhs_omap_platform_data *pdata);
|
||||
extern int omap_tll_enable(struct usbhs_omap_platform_data *pdata);
|
||||
extern int omap_tll_disable(struct usbhs_omap_platform_data *pdata);
|
||||
|
Reference in New Issue
Block a user