Re: [PATCH v10] i2c: virtio: add a virtio i2c frontend driver

Wolfram Sang
2021-06-29T09:07:23Z

[-- Attachment #1: Type: text/plain, Size: 430 bytes --]

> 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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]