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

From: Wolfram Sang
Date: Tue Jun 29 2021 - 05:07:24 EST



> 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: signature.asc
Description: PGP signature