From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Hutchings Subject: Re: Shared i2c adapter locking Date: Thu, 05 Nov 2009 13:57:24 +0000 Message-ID: <1257429444.2793.2.camel@achroite.uk.solarflarecom.com> References: <20091026133757.7cf87e49.sfr@canb.auug.org.au> <20091029154317.651904b9@hyperion.delvare> <1256828976.2827.27.camel@achroite> <20091105141122.56b6b4f8@hyperion.delvare> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from exchange.solarflare.com ([216.237.3.220]:30045 "EHLO exchange.solarflare.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756604AbZKEN5X convert rfc822-to-8bit (ORCPT ); Thu, 5 Nov 2009 08:57:23 -0500 In-Reply-To: <20091105141122.56b6b4f8@hyperion.delvare> Sender: linux-next-owner@vger.kernel.org List-ID: To: Jean Delvare Cc: Stephen Rothwell , David Miller , netdev@vger.kernel.org, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Mika Kuoppala , Linux I2C On Thu, 2009-11-05 at 14:11 +0100, Jean Delvare wrote: [...] > What about the following patch? >=20 > From: Jean Delvare > Subject: i2c: Add an interface to lock/unlock I2C bus segment >=20 > Some drivers need to be able to prevent access to an I2C bus segment > for a specific period of time. Add an interface for them to do so > without twiddling with i2c-core internals. >=20 > Signed-off-by: Jean Delvare > Cc: Ben Hutchings Acked-by: =EF=BB=BFBen Hutchings Presumably this is meant for net-next-2.6, and you'll implement i2c_{lock,unlock}_adapter() using rt_mutex in your i2c tree? Ben. --=20 Ben Hutchings, Senior Software Engineer, Solarflare Communications Not speaking for my employer; that's the marketing department's job. They asked us to note that Solarflare product names are trademarked.