Re: [PATCH v10] i2c: virtio: add a virtio i2c frontend driver
From: Wolfram Sang <wsa@kernel.org>
Date: 2021-06-29 09:07:24
Also in:
lkml
Attachments
- signature.asc [application/pgp-signature] 833 bytes
From: Wolfram Sang <wsa@kernel.org>
Date: 2021-06-29 09:07:24
Also in:
lkml
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.