imx: mx6: correct enable_fec_anatop_clock
authorPeng Fan <Peng.Fan@freescale.com>
Sun, 6 Sep 2015 09:15:47 +0000 (17:15 +0800)
committerStefano Babic <sbabic@denx.de>
Fri, 2 Oct 2015 08:42:31 +0000 (10:42 +0200)
commite2748b416798be31f035c8314787bf1867005b57
tree291846157cc479fd821710e176822f877a8d2ec9
parent1f8836396de8215b7f460616926052b32597bb29
imx: mx6: correct enable_fec_anatop_clock

We should follow 'read->set/clr bit->write' flow for enable_fec_anatop_clock,
otherwise we may overridden configuration before enable_fec_anatop_clock.

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Cc: Fabio Estevam <fabio.estevam@freescale.com>
arch/arm/cpu/armv7/mx6/clock.c