From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH] i2c-s3c2410: Remove unconditional 1ms delay on each transfer Date: Fri, 2 Apr 2010 14:13:46 +0100 Message-ID: <20100402131346.GA28023@rakim.wolfsonmicro.main> References: <1270211946-25103-1-git-send-email-broonie@opensource.wolfsonmicro.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-i2c-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: jassi brar Cc: Ben Dooks , linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: linux-i2c@vger.kernel.org On Fri, Apr 02, 2010 at 10:00:52PM +0900, jassi brar wrote: > On Fri, Apr 2, 2010 at 9:39 PM, Mark Brown > > + =A0 =A0 =A0 /* first, try busy waiting briefly */ > > + =A0 =A0 =A0 spins =3D 0; > ^^^^^^^^^^^^ ? Gnargh, this is bit rot from my initial version which didn't have the fallback for the multi-master case (I don't actually have any hardware that can trigger that). As you can see from the fact that I was able t= o test this successfully most transfers report idle on the first check anyway. Thanks.