Re: [PATCHv5 2.6.34-rc4 4/5] mxc: Add generic USB HW initialization for MX51

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Daniel Mack
Date: Monday, April 19, 2010 - 6:13 pm

On Mon, Apr 19, 2010 at 05:27:03PM -0500, Dinh.Nguyen@freescale.com wrote:

Nice! This looks ok to me now except for the minor things below ...


Better use cpu_relax()


-ETIMEDOUT


ret = timeout;

Or better use 'ret' in the first place, than you can omit 'timeout'
entirely.


Same here.


And here.


Does the sleep really need to be that long? You're holding off the
kernel's by that. If we can reduce that, we should certainly do so.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCHv5 2.6.34-rc4 4/5] mxc: Add generic USB HW initi ..., Daniel Mack, (Mon Apr 19, 6:13 pm)
RE: [PATCHv5 2.6.34-rc4 2/5] mx5: Add USB device definitio ..., Nguyen Dinh-R00091, (Tue Apr 20, 7:40 am)