Re: [PATCH] i2c-powermac: Reject unsupported I2C transactions

2009-10-13 Thread Benjamin Herrenschmidt
On Wed, 2009-09-30 at 22:14 +0200, Jean Delvare wrote: > The i2c-powermac driver doesn't support arbitrary multi-message I2C > transactions, only SMBus ones. Make it clear by returning an error if > a multi-message I2C transaction is attempted. This is better than only > processing the first messag

[PATCH] i2c-powermac: Reject unsupported I2C transactions

2009-09-30 Thread Jean Delvare
The i2c-powermac driver doesn't support arbitrary multi-message I2C transactions, only SMBus ones. Make it clear by returning an error if a multi-message I2C transaction is attempted. This is better than only processing the first message, because most callers won't recover from the short transactio