Re: [PATCH] i2c-mxs: fix compile warning in mxs_i2c_xfer()

2011-11-25 Thread Wolfram Sang
On Fri, Nov 25, 2011 at 09:15:20AM +0800, Shawn Guo wrote: > On Thu, Nov 24, 2011 at 09:37:47AM +0100, Wolfram Sang wrote: > > On Thu, Nov 24, 2011 at 09:29:03AM +0100, Uwe Kleine-König wrote: > > > Hello Shawn, > > > > > > On Thu, Nov 24, 2011 at 03:52:20PM +0800, Shawn Guo wrote: > > > > CC

Re: RFC: I2C bus fault recovery and I2C reset

2011-11-25 Thread Michael Lawnick
Am 24.11.2011 12:02, schrieb David Jander: > > Hi all, > > I was debugging an I2C bus connected to a i2c-imx peripheral as master, with > several slaves connected to it, when I realized that this driver (and many > (all?) others) cannot recover from a bus fault in a graceful manner. > If, for ins

[PATCH] i2c: Fix error value returned by several bus drivers

2011-11-25 Thread Jean Delvare
When adding checks for ACPI resource conflicts to many bus drivers, not enough attention was paid to the error paths, and for several drivers this causes 0 to be returned on error in some cases. Fix this by properly returning a non-zero value on every error. Signed-off-by: Jean Delvare Cc: sta...

[PATCH v3] i2c-ali1535: enable SPARC support

2011-11-25 Thread Jean Delvare
From: "corentin.labbe" The i2c-ali1535 driver don't work on SPARC, this is because it assumes that ioport address are 16bits wide (address stored with an unsigned short). But on SPARC arch, ioports are mapped in memory and so are stored with an unsigned long. This patch corrects this by using

Re: [PATCH v7 0/5] AT91: replace broken TWI driver i2c-at91.c

2011-11-25 Thread Hubert Feurstein
Hi, I've tested this driver on a 2.6.38 kernel with several i2c clients (temp-sensor, audio-codec, touchscreen-controller, w1-bridge, io-expanders) and works without problems. SoC: at91sam9g45 Because of the 2.6.38 kernel, I had to skip "[PATCH v7 2/5] Replace clk_lookup.con_id with clk_lookup.de

[PATCH] i2c multiplexer driver for Proliant microserver N36L

2011-11-25 Thread Eddi De Pieri
This patch add support to multiplexed smbus for proliant microserver N36L and may be applicable to other configuration based on sb8xx southbus. root@proliant:/usr/src/lm-sensors/eddi# i2cdetect -l i2c-0   smbus   SMBus piix4 adapter (SDA0)  SMBus adapter i2c-1   smbus