Re: [PATCH V5 2/2] virtio: i2c: Allow zero-length transactions

From
Viresh Kumar <>
Date
2021-10-13T10:44:03+00:00
ID
20211013104359.wykpyaz5cffgefuu@vireshk-i7
Thread
Re: [PATCH V5 2/2] virtio: i2c: Allow zero-length transactions
On 13-10-21, 11:26, Cornelia Huck wrote:
> On Tue, Oct 12 2021, Viresh Kumar <> wrote:
> > +A device SHOULD implement the VIRTIO_I2C_F_ZERO_LENGTH_REQUEST feature.
> 
> Same here, I would make this "MUST offer", and simply make old device
> implementations non-compliant.

> The device should also reject any driver that does not negotiate the
> flag, I think?

Thinking about this a bit more, in practice the device doesn't get to
know about what the driver does with the flag. So how can a device
reject the driver ?

-- 
viresh