]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
i2c: Support i2c_transfer in atomic contexts
authorMike Rapoport <mike@compulab.co.il>
Sun, 27 Jan 2008 17:14:50 +0000 (18:14 +0100)
committerJean Delvare <khali@hyperion.delvare>
Sun, 27 Jan 2008 17:14:50 +0000 (18:14 +0100)
commitcea443a81c9c6257bf2d00f1392f7d1d4ce03b75
tree1168668b6b8c35be86944eda50be6f0132cafc4c
parent5271071b20dee56c01b6b9d8e275611403d3d383
i2c: Support i2c_transfer in atomic contexts

Allow i2c_transfer to be called in contexts where sleeping is not allowed.
It is the reponsability of the caller to ensure that the underlying i2c bus
driver will not sleep either.

Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/i2c-core.c