Re: [PATCH] hwmon: HIH-6130: Support I2C bus drivers without I2C_FUNC_SMBUS_QUICK

From: José Miguel Gonçalves
Date: Wed Dec 11 2013 - 14:54:01 EST


On 11-12-2013 19:29, Guenter Roeck wrote:
On Wed, Dec 11, 2013 at 11:11:13AM +0000, José Miguel Gonçalves wrote:
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@xxxxxxx>
Applied, after simplifying write_length initialization a bit.

Should this go to -stable ?

Any BeagleBone user that tries to use this sensor will encounter this issue. As this board is very popular, this will potentially solve the problems of many users. Nevertheless, it does not seems to me that this patch fixes "something critical", which is one of the conditions to be accepted in the -stable tree.

José Gonçalves
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/