[PATCH V2] clk: mxs: Fix invalid 32-bit access to frac registers

From
Marek Vasut <marex@denx.de>
Date
2014-12-29 03:32:45
Also in
lkml
Reply to
Stefan Wahren, 2014-12-28
On Sunday, December 28, 2014 at 11:26:42 AM, Stefan Wahren wrote:
According to i.MX23 and i.MX28 reference manual the fractional
clock control registers must be addressed by byte instructions.

This patch fixes the erroneous 32-bit access to these registers
and extends the comment in the init functions.

Btw the imx23 init now uses a R-M-W sequence just like imx28 init
to avoid any clock glitches.

The changes has been tested only with a i.MX28 board, because i don't
have access to an i.MX23 board.

Signed-off-by: Stefan Wahren <redacted>
I don't see a problem,

Reviewed-by: Marek Vasut <marex@denx.de>

Best regards,
Marek Vasut
Thread (12 messages) 12 messages, 5 authors, last reply 2015-01-29
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help