From: Jean Delvare Date: Fri, 29 Jun 2012 10:47:19 +0000 (-0300) Subject: [media] i2c: Export an unlocked flavor of i2c_transfer X-Git-Tag: v3.6-rc1~40^2^2~110 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b37d2a3a75cb0e72e18c29336cb2095b63dabfc8;p=pandora-kernel.git [media] i2c: Export an unlocked flavor of i2c_transfer Some drivers (in particular for TV cards) need exclusive access to their I2C buses for specific operations. Export an unlocked flavor of i2c_transfer to give them full control. The unlocked flavor has the following limitations: * Obviously, caller must hold the i2c adapter lock. * No debug messages are logged. We don't want to log messages while holding a rt_mutex. * No check is done on the existence of adap->algo->master_xfer. It is thus the caller's responsibility to ensure that the function is OK to call. Signed-off-by: Jean Delvare Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed