OSDN Git Service

usb: chipidea: imx: refine clock operations to adapt for all platforms
authorPeter Chen <peter.chen@freescale.com>
Wed, 16 Sep 2015 01:40:51 +0000 (09:40 +0800)
committerPeter Chen <peter.chen@freescale.com>
Wed, 18 Nov 2015 06:07:53 +0000 (14:07 +0800)
commitae3e57ae26cdcc85728bb566f999bcb9a7cc6954
tree528ebaf860caf93729d3918384edd50eab156673
parentaa05cfa95f686be5d1485094402ebc7b03729e0e
usb: chipidea: imx: refine clock operations to adapt for all platforms

Some i.mx platforms need three clocks to let controller work, but
others only need one, refine clock operation to adapt for all
platforms, it fixes a regression found at i.mx27.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Tested-by: Fabio Estevam <fabio.estevam@freescale.com>
Cc: <stable@vger.kernel.org> #v4.1+
drivers/usb/chipidea/ci_hdrc_imx.c