HomeFreeBSD

MFC r354973:

Description

MFC r354973:

Rewrite iicdev_writeto() to use a single buffer and a single iic_msg, rather
than effectively doing scatter/gather IO with a pair of iic_msgs that direct
the controller to do a single transfer with no bus STOP/START between the
two buffers. It turns out we have multiple i2c hardware drivers that don't
honor the NOSTOP and NOSTART flags; sometimes they just try to do the
transfers anyway, creating confusing failures or leading to corrupted data.

Details

Provenance
ianAuthored on
Parents
rS355496: MFC r352938:
Branches
Unknown
Tags
Unknown