On Thu, Apr 19, 2012 at 8:18 AM, Viresh Kumar <viresh.ku...@st.com> wrote:

> Currently, if we request for frequency greater than maximum possible, spi 
> driver
> returns error.
>
> For example, if the spi block src frequency is 333/4 MHz, i.e. 83.33.. MHz,
> maximum frequency programmable would be src/2. Which would come around 41.6...
>
> It is difficult to pass frequency in these figures. We normally try to program
> in round figures, like 42 MHz and it should get programmed to <=
> requested_frequency, i.e. 41.6...
>
> For this to happen, we must not return error even if requested freq is higher
> than max possible. But should program it to max possible.
>
> Reported-by: Vinit Kamalaksha Shenoy <vinit.she...@st.com>
> Signed-off-by: Viresh Kumar <viresh.ku...@st.com>

Looks reasonable and mostly harmless :-)
Acked-by: Linus Walleij <linus.wall...@linaro.org>

Yours,
Linus Walleij

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
spi-devel-general mailing list
spi-devel-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/spi-devel-general

Reply via email to