Re: [PATCH] commands: i2c_write: enable reg == 0 too

2018-04-17 Thread Sascha Hauer
On Tue, Apr 17, 2018 at 06:58:29AM +0300, Antony Pavlov wrote: > This commit fixes the mistake introduced in the commit 34fadb685905 > ('commands: i2c_write: enable raw write to address'). > The intended behaviour for i2c_write command is > "use raw i2c write only if reg address is not defined". >

[PATCH] commands: i2c_write: enable reg == 0 too

2018-04-16 Thread Antony Pavlov
This commit fixes the mistake introduced in the commit 34fadb685905 ('commands: i2c_write: enable raw write to address'). The intended behaviour for i2c_write command is "use raw i2c write only if reg address is not defined". Before the commit 34fadb685905 reg address == 0 was acceptable. After