]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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:34:38 +0000 (14:34 -0500)
commita46143c2744f7a35554b030295f928b4efdceb33
treeda7a4dbe6d0d40a15be30132fbd4b5fe62736740
parent61d93448a08b9d0c194f75269d940a7038a2fab8
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