José Miguel Gonçalves efabcc2123 hwmon: HIH-6130: Support I2C bus drivers without I2C_FUNC_SMBUS_QUICK
Some I2C bus drivers do not allow zero-length data transfers which are
required to start a measurement with the HIH6130/1 sensor. Nevertheless,
we can overcome this limitation by writing a zero dummy byte. This byte
is ignored by the sensor and was verified to be working with the OMAP
I2C bus driver in a BeagleBone board.

Signed-off-by: José Miguel Gonçalves <jose.goncalves@inov.pt>
[Guenter Roeck: Simplified complexity of write_length initialization]
Cc: stable@vger.kernel.org # v3.10+
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2013-12-11 13:37:30 -08:00
..
2013-10-18 09:12:02 -07:00
2013-10-18 09:12:02 -07:00
2013-10-13 16:16:25 -07:00
2013-08-11 22:10:39 -07:00
2013-08-27 08:28:01 -07:00
2013-10-13 16:16:25 -07:00
2013-11-27 01:03:27 +01:00
2013-08-11 22:10:39 -07:00
2013-09-11 13:01:31 -07:00
2013-08-11 22:10:39 -07:00
2013-08-11 22:10:39 -07:00
2013-08-27 08:28:01 -07:00
2013-09-11 13:01:32 -07:00
2013-08-27 08:28:01 -07:00
2013-06-27 10:29:03 -07:00
2013-08-11 22:10:39 -07:00
2013-10-18 09:12:01 -07:00
2013-03-18 21:19:49 +01:00
2013-08-11 22:10:39 -07:00
2013-11-15 10:40:39 +01:00
2013-08-11 22:10:39 -07:00
2012-11-28 11:50:34 -08:00
2012-10-10 15:25:56 +02:00
2013-08-11 22:10:39 -07:00
2013-10-18 09:12:02 -07:00
2013-08-11 22:10:39 -07:00
2013-08-11 22:10:39 -07:00
2013-08-11 22:10:39 -07:00
2013-08-11 22:10:39 -07:00
2012-11-28 11:49:40 -08:00
2012-11-28 11:49:40 -08:00
2012-11-28 11:50:34 -08:00
2012-11-28 11:50:34 -08:00
2013-08-11 22:10:39 -07:00
2013-09-11 13:01:41 -07:00
2012-11-28 11:50:34 -08:00
2013-08-11 22:10:39 -07:00
2013-10-18 09:12:02 -07:00
2013-10-18 09:12:02 -07:00
2012-11-28 11:50:34 -08:00
2012-11-28 11:50:34 -08:00