Hello all, > Il giorno 13 mar 2020, alle ore 21:48, Gregory CLEMENT <gregory.clement@xxxxxxxxxxx> ha scritto: > > Hello Wolfram, > >> On Sat, Jan 18, 2020 at 12:58:20PM +0100, Federico Fuga wrote: >>> The i2c_mv64xxx driver doesn't implement the I2C_M_REC_LEN function >>> essential to allow blocks with variable length to be read from an i2c >>> slave. >>> This is needed to implement the SMBus Read Block Data function. >>> >>> This patch implements the function by changing the bytes_left and >>> msg len on the fly if the flag is specified. >>> >>> It has been successfully tested on Allwinner A33 with a special >>> i2c chip that returns variable length blocks on reading. >>> >>> Signed-off-by: Federico Fuga <fuga@xxxxxxxxxxxxxx> >>> --- >> >> Gregory, any comment? I can't say much about the implementation. In >> general, this is a nice feature to have... > > I thought I was already sent a reviewed by, as I reviewed this patch > before Frederico actually sent it. > > So you can even add a > > Acked-by: Gregory CLEMENT <gregory.clement@xxxxxxxxxxx> > > Thanks, For what it worth, I can confirm that after many weeks of use the patch works as expected without any issue. Federico