usb: gadget: fsl_mxc_udc: do not depend on grouped clocks
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 15 Jun 2012 21:39:02 +0000 (18:39 -0300)
committerFelipe Balbi <balbi@ti.com>
Fri, 22 Jun 2012 10:09:52 +0000 (13:09 +0300)
commitba789170d251a3c47854cee8a492d8ba7345f468
tree430b6634ad1da50e4fec9e2413cbf1966d6f8deb
parent3d4eb9dfa3e89a09cdaaf3d0465479475e4afb0c
usb: gadget: fsl_mxc_udc: do not depend on grouped clocks

With the new common clock infrastructure, the following clocks should be
used on i.MX drivers: ipg, per and ahb.

Adapt fsl_mxc_udc to follow this new behaviour to fix the following probe error:

Freescale High-Speed USB SOC Device Controller driver (Apr 20, 2007)
fsl-usb2-udc fsl-usb2-udc: clk_get("usb") failed
fsl-usb2-udc: probe of fsl-usb2-udc failed with error -2

Reported-by: Christoph Fritz <chf.fritz@googlemail.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/fsl_mxc_udc.c