Re: [PATCH] i2c: mvtwsi: Swab the register address if its size is > 1

2021-12-20 Thread Heiko Schocher
Hello Stefan, On 18.12.21 14:42, Stefan Roese wrote: > Hi Heiko, > > On 11/18/21 09:18, Stefan Roese wrote: >> Testing on Armada XP with an EEPROM using register address with size >> of 2 has shown, that the register address bytes are sent to the I2C >> EEPROM in the incorrect order. This patch

Re: [PATCH] i2c: mvtwsi: Swab the register address if its size is > 1

2021-12-19 Thread Heiko Schocher
Hello Marek, On 18.12.21 23:41, Marek BehĂșn wrote: > On Sat, 18 Dec 2021 14:42:51 +0100 > Stefan Roese wrote: > >> Hi Heiko, >> >> On 11/18/21 09:18, Stefan Roese wrote: >>> Testing on Armada XP with an EEPROM using register address with size >>> of 2 has shown, that the register address bytes

Re: [PATCH] i2c: mvtwsi: Swab the register address if its size is > 1

2021-12-18 Thread Marek BehĂșn
On Sat, 18 Dec 2021 14:42:51 +0100 Stefan Roese wrote: > Hi Heiko, > > On 11/18/21 09:18, Stefan Roese wrote: > > Testing on Armada XP with an EEPROM using register address with size > > of 2 has shown, that the register address bytes are sent to the I2C > > EEPROM in the incorrect order. This

Re: [PATCH] i2c: mvtwsi: Swab the register address if its size is > 1

2021-12-18 Thread Stefan Roese
Hi Heiko, On 11/18/21 09:18, Stefan Roese wrote: Testing on Armada XP with an EEPROM using register address with size of 2 has shown, that the register address bytes are sent to the I2C EEPROM in the incorrect order. This patch swabs the address bytes so that the correct address is transferred

[PATCH] i2c: mvtwsi: Swab the register address if its size is > 1

2021-11-18 Thread Stefan Roese
Testing on Armada XP with an EEPROM using register address with size of 2 has shown, that the register address bytes are sent to the I2C EEPROM in the incorrect order. This patch swabs the address bytes so that the correct address is transferred to the I2C device. BTW: This worked without any