imx: mx6sx: Disable ENET clock before switching clock parent
authorYe.Li <ye.li@nxp.com>
Sat, 8 Oct 2016 08:58:29 +0000 (16:58 +0800)
committerStefano Babic <sbabic@denx.de>
Wed, 16 Nov 2016 19:53:55 +0000 (20:53 +0100)
commit27e3a3c7f8a469c61509102a672d210bdff46059
tree90ae3a480c983a57303cf8fec0bfe98bd9e4753e
parent29e0cfb4f77f7aa369136302cee14a91e22dca71
imx: mx6sx: Disable ENET clock before switching clock parent

Need to gate ENET clock when switching to a new clock parent, because
the mux is not glitchless.

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