Messages in this thread | | | Date | Tue, 29 Jun 2021 11:07:15 +0200 | From | Wolfram Sang <> | Subject | Re: [PATCH v10] i2c: virtio: add a virtio i2c frontend driver |
| |
> struct i2c_rdwr_ioctl_data data; > data.nmsgs = count; > data.msgs = msgs; > > return ioctl(adapter->fd, I2C_RDWR, &data); > > So we will end up recreating the exact situation as when > virtio_i2c_xfer() is called.
Perfect! I was hoping exactly for this. But with my limited experience of all the blocks involved, I decided to ask for this instead of digging into various sources. Looks good.
[unhandled content-type:application/pgp-signature]
| |