]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit60bdc84cf9ceb78371876f572aee5758a7fe771f
tree6a90d86fa2cf3e7aafeee1cc829a5396c662fffb
parent1a902662c4cb3cff2c04e9db44808c3d4e0aa0ea
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