Re: [PATCH 2/2] CHROMIUM: tpm: tpm_i2c_infineon: Lock the I2Cadapter for a sequence of requests.

From: Kent Yoder
Date: Wed Jul 11 2012 - 11:20:02 EST


Hi Peter / Bryan,

On Tue, Jun 12, 2012 at 02:43:54PM +0200, Peter Huewe wrote:
> From: Bryan Freed <bfreed@xxxxxxxxxxxx>
>
> This is derived from Peter Huewe's recommended fix:
>
> On some ChromeOS systems, a TPM sharing the I2C bus with another device
> gets confused when it sees I2C requests to that other device.
> This change locks the I2C adapter for the duration of the full sequence
> of I2C requests the TPM needs to complete.
>
> smbus_xfer is not supported, but SMBUS is not supported by the original
> driver, either.
>
> Signed-off-by: Bryan Freed <bfreed@xxxxxxxxxxxx>
> Signed-off-by: Peter Huewe <peter.huewe@xxxxxxxxxxxx>

I've applied this patch to my tpmdd staging tree [1].

Thanks,
Kent

[1] git://github.com/shpedoikal/linux.git tpmdd-next

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/