i2c-algo-bit: Emulate SMBus block read
authorJean Delvare <khali@linux-fr.org>
Tue, 1 May 2007 21:26:29 +0000 (23:26 +0200)
committerJean Delvare <khali@hyperion.delvare>
Tue, 1 May 2007 21:26:29 +0000 (23:26 +0200)
commit3c4bb241d34ee3d9ab87aad265734885385f179b
tree6a90d86fa2cf3e7aafeee1cc829a5396c662fffb
parent209d27c3b1676c0497108f0642c51a08b98a7856
i2c-algo-bit: Emulate SMBus block read

Now that i2c-core lets the i2c bus drivers emulate the SMBus block read
and SMBus block process call transaction types, let's implement that in
the popular i2c bit-banging driver. This will also act as a reference
implementation for other bus drivers which want to do the same.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/algos/i2c-algo-bit.c