From mboxrd@z Thu Jan 1 00:00:00 1970 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 Message-ID: <63318173.mcCRrit7Mu@ws-stein> References: <1328776366-6881-1-git-send-email-alexander.stein@systec-electronic.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: In-Reply-To: Sender: linux-i2c-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Tomoya MORINAGA Cc: Jean Delvare , Ben Dooks , Wolfram Sang , Tomoya MORINAGA , Feng Tang , Toshiharu Okada , linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-i2c@vger.kernel.org Am Freitag, 10. Februar 2012, 09:52:03 schrieb Tomoya MORINAGA: > 2012/2/9 Alexander Stein 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-93q1YBGzJSMe9JSWTWOYM3xStJ4P+DSV@public.gmane.org Internet: http://www.systec-electronic.com Managing Director: Dipl.-Phys. Siegmar Schmidt Commercial registry: Amtsgericht Jena, HRB 205563