Messages in this thread | | | From | Alexander Stein <> | Subject | Re: [PATCH] i2c-eg20t: Rework pch_i2c_wait_for_bus_idle to reduce wait time | Date | Mon, 13 Feb 2012 08:25 +0100 |
| |
Am Freitag, 10. Februar 2012, 09:52:03 schrieb Tomoya MORINAGA: > 2012/2/9 Alexander Stein <alexander.stein@systec-electronic.com> 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@systec-electronic.com Internet: http://www.systec-electronic.com
Managing Director: Dipl.-Phys. Siegmar Schmidt Commercial registry: Amtsgericht Jena, HRB 205563
| |