[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4C58B7F9.6010608@ti.com>
Date: Tue, 03 Aug 2010 20:44:41 -0400
From: Cyril Chemparathy <cyril@...com>
To: "Ramirez Luna, Omar" <omar.ramirez@...com>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"davinci-linux-open-source@...ux.davincidsp.com"
<davinci-linux-open-source@...ux.davincidsp.com>,
"linux-omap@...r.kernel.org" <linux-omap@...r.kernel.org>,
"Nori, Sekhar" <nsekhar@...com>,
"Govindarajan, Sriramakrishnan" <srk@...com>
Subject: Re: [PATCH 1/8] netdev: separate out davinci mdio controller code
Hi Omar,
[...]
>> + while ((reg = __raw_readl(®s->user[0].access)) & USERACCESS_GO)
>> + ;
>
> potential infinite loop? I saw another place in your series using time_after, might fit in here too.
[...]
>> + while ((__raw_readl(®s->control) & CONTROL_IDLE) == 0)
>> + ;
>
> Ditto
Thanks. Will modify.
Regards
Cyril.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists