[PATCH] DaVinci: correct MDSTAT_STATE_MASK

Sergei Shtylyov sshtylyov at mvista.com
Fri Jul 8 11:30:26 EDT 2011


Hello.

I wrote:

> MDSTAT.STATE occupies bits 0..5 according to all available documentation, so fix
> the #define MDSTAT_STATE_MASK at last. Using the wrong value seems to have been
> harmless though...

    Except maybe sleep.S -- davinci_ddr_psc_config() could exit too early when 
disabling DDR clock. The same is true with davinci_psc_config() in general but I 
don't think that anything depended on its timely return in that case.

> This was noticed by me back in 2009 but I didn't follow up with the patch back
> then... :-/

    Shame on me. :-)

> Signed-off-by: Sergei Shtylyov <sshtylyov at ru.mvista.com>

WBR, Sergei




More information about the linux-arm-kernel mailing list