imx: mx6: lcdif: gate clock before changing mux
authorPeng Fan <peng.fan@nxp.com>
Sun, 11 Dec 2016 11:24:26 +0000 (19:24 +0800)
committerStefano Babic <sbabic@denx.de>
Fri, 16 Dec 2016 10:38:24 +0000 (11:38 +0100)
commit70ac169723003ecc8e3f5f0abcf7bc4c59b487d9
tree00dc4c323793433ec4631fd9ec62abef9dec6694
parent0e81982de08fc93118c3dc49cc81def0d3801445
imx: mx6: lcdif: gate clock before changing mux

The mux for the lcd clock is not glitchless,
so need to first gate the clock before changing the mux.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
arch/arm/cpu/armv7/mx6/clock.c