Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756000Ab2BMHZG (ORCPT ); Mon, 13 Feb 2012 02:25:06 -0500 Received: from webbox1416.server-home.net ([77.236.96.61]:42161 "EHLO webbox1416.server-home.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752792Ab2BMHZE (ORCPT ); Mon, 13 Feb 2012 02:25:04 -0500 From: Alexander Stein To: Tomoya MORINAGA Cc: Jean Delvare , Ben Dooks , Wolfram Sang , Tomoya MORINAGA , Feng Tang , Toshiharu Okada , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org 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> User-Agent: KMail/4.7.4 (Linux/3.2.1-gentoo-r2; KDE/4.7.4; x86_64; ; ) In-Reply-To: References: <1328776366-6881-1-git-send-email-alexander.stein@systec-electronic.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 994 Lines: 32 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@systec-electronic.com 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/