Re: [PATCH] i2c-eg20t: Rework pch_i2c_wait_for_bus_idle to reduce wait time

From: Alexander Stein
Date: Mon Feb 13 2012 - 02:25:05 EST


Am Freitag, 10. Februar 2012, 09:52:03 schrieb Tomoya MORINAGA:
> 2012/2/9 Alexander Stein <alexander.stein@xxxxxxxxxxxxxxxxxxxxx> wrote:
> >
> > if ((ioread32(p + PCH_I2CSR) & I2CMBB_BIT) == 0)
> > return 0;
> >
>
> If this patch will be accepted,
> this code also looks redundant code.

Yep, you're right. I'll prepare a now patch after some days of possibly more comments.

Best regards,
Alexander
--
Dipl.-Inf. Alexander Stein

SYS TEC electronic GmbH
August-Bebel-Str. 29
D-07973 Greiz

Tel: +49-3661-6279-0, Fax: +49-3661-6279-99
eMail: Alexander.Stein@xxxxxxxxxxxxxxxxxxxxx
Internet: http://www.systec-electronic.com

Managing Director: Dipl.-Phys. Siegmar Schmidt
Commercial registry: Amtsgericht Jena, HRB 205563
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/