On Mon, Nov 17, 2014 at 05:57:43AM +0000, Simon Glass wrote:
> Hi Tom,
> 
> On 17 November 2014 00:46, Tom Rini <tr...@ti.com> wrote:
> >
> > On Tue, Nov 11, 2014 at 10:46:20AM -0700, Simon Glass wrote:
> >
> > > Since we scan from left to right looking for the first digit, "i2c0" 
> > > returns
> > > 2 instead of 0 for the alias number. Adjust the code to scan from right to
> > > left instead.
> > >
> > > Signed-off-by: Simon Glass <s...@chromium.org>
> >
> > How about i2c10 ?  I assume you see where I'm worried about here..
> 
> It goes back to the first non-digit, so will produce 10 in this case
> as expected.

Oh good.

Reviewed-by: Tom Rini <tr...@ti.com>

-- 
Tom

Attachment: signature.asc
Description: Digital signature

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to