i2c-omap

Bug #1253147 reported by Mike
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Linux
New
Undecided
Unassigned

Bug Description

I hope this is the right team!

In https://github.com/torvalds/linux/blob/master/drivers/i2c/busses/i2c-omap.c, in the function omap_i2c_xfer_msg - there's an initial test to return EINVAL if msg->len == 0

This seems reasonable but breaks communications with unreasonable devices like the HIH6130 (http://www.mouser.com/pdfdocs/I2CCommunications.pdf) which expects what is effectively a zero length write: just the address then a stop bit.

Is it possible to remove this test?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.