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

2014-12-21 Thread Stefan Wahren
Hi Marek, > Marek Vasut hat am 21. Dezember 2014 um 22:50 geschrieben: > > > On Sunday, December 21, 2014 at 02:46:39 PM, Stefan Wahren wrote: > > Hi! > > [...] > > > diff --git a/drivers/clk/mxs/clk-ref.c b/drivers/clk/mxs/clk-ref.c > > index 4adeed6..bdecec1 100644 > > --- a/drivers/clk/mxs/clk

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

2014-12-21 Thread Marek Vasut
On Sunday, December 21, 2014 at 02:46:39 PM, Stefan Wahren wrote: Hi! [...] > diff --git a/drivers/clk/mxs/clk-ref.c b/drivers/clk/mxs/clk-ref.c > index 4adeed6..bdecec1 100644 > --- a/drivers/clk/mxs/clk-ref.c > +++ b/drivers/clk/mxs/clk-ref.c > @@ -16,6 +16,8 @@ > #include > #include "clk.h

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

2014-12-21 Thread Stefan Wahren
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 imx2