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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Dec 2015 19:03:25 +0000 (14:03 -0500)
commitfca6d6f19873f5070f191046134cc2645308b385
tree0192980c7e2cadf506d71c303043e9f0566ab908
parent697fdbae08daee5004883a928618dcd086d25d72
usb: chipidea: imx: refine clock operations to adapt for all platforms

commit ae3e57ae26cdcc85728bb566f999bcb9a7cc6954 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/ci_hdrc_imx.c