commit | b9029345ed6483fcadadc4834b44a5656dd56d70 | [log] [tgz] |
---|---|---|
author | Antonio Borneo <borneo.antonio@gmail.com> | Tue Jul 08 07:25:39 2014 +0800 |
committer | Jiri Kosina <jkosina@suse.cz> | Tue Jul 29 11:37:38 2014 +0200 |
tree | 1ad9c2ef159cf7bd9f5096c9c3124632dbeff087 | |
parent | beb9d007a846e661cfaa7719cab6b004b3380418 [diff] |
HID: cp2112: add I2C mode cp2112 supports single I2C read/write transactions. It can't combine I2C transactions. Add master_xfer, using similar code flow as for smbus_xfer. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>