Hello.

On 25-08-2011 21:04, Karicheri, Muralidharan wrote:

I had replied to your earlier comment.

Would be good if you fixed your mail agent to properly quote the messages that you reply to. I did that manually.

__raw_writel(mdctl, psc_base + MDCTL + 4 * id);

pdstat = __raw_readl(psc_base + PDSTAT);
- if ((pdstat&  0x00000001) == 0) {

     The current code doesn't make much sense to me -- Kevin, as the original
author, could you explain why this cross-dependency between domains 0 and 1?
The code below should never be executed in my opinion, since domain 0 is
always-on, so 'pdstat&  1' should never be 0 -- although my DA830 manual says
it's 0 by default even though PDSTAT0.NEXT is initially 1...
     I could understand if we had:

        if (domain) {

instead if this check...
     And the bit mask certainly isn't right as it excludes the "intermediate
state" bit 4.

[MK] This will be corrected in my next revision of the patch. But would wait to
hear response from Kevin as well.

   The mask should be corrected by a separate patch.

WBR, Sergei
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to