Re: [PATCH] i2c: i801: Fix block process call transactions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Piotr,

On Wed, 2024-02-21 at 12:48 +0100, Zakowski, Piotr wrote:
> 
> I applied your change and test now passes the expectations.

Sweet, thanks for testing!

> Could I confirm with you ioctl() response convention:
> It is expected from driver to return +1 Byte (Byte Count as first byte 
> together with the actual data) in read block commands (i.e. Block Read 
> Command and Block Write - Block Read Process Call)?
> 
> For example:
> 
> Data: 0x5a 0x82 0x64 0xB9 (4 Bytes)
> Return of ioctl() call of Block Read command: 0x04 0x5a 0x82 0x64 0xB9

Yes, this is the expected return.

-- 
Jean Delvare
SUSE L3 Support




[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux