Re: [PATCH] i2c: designware: Fix bogus sda_hold_time due to uninitialized vars

2017-05-22 Thread Wolfram Sang
On Mon, May 22, 2017 at 07:46:55AM +0200, Jan Kiszka wrote: > We need to initializes those variables to 0 for platforms that do not > provide ACPI parameters. Otherwise, we set sda_hold_time to random > values, breaking e.g. Galileo and IOT2000 boards. > > Fixes: 9d6408433019 ("i2c: designware: do

Re: [PATCH] i2c: designware: Fix bogus sda_hold_time due to uninitialized vars

2017-05-21 Thread Jarkko Nikula
On 05/22/2017 08:46 AM, Jan Kiszka wrote: We need to initializes those variables to 0 for platforms that do not provide ACPI parameters. Otherwise, we set sda_hold_time to random values, breaking e.g. Galileo and IOT2000 boards. Fixes: 9d6408433019 ("i2c: designware: don't infer timings describe

Re: [PATCH] i2c: designware: Fix bogus sda_hold_time due to uninitialized vars

2017-05-21 Thread Ard Biesheuvel
> On 22 May 2017, at 07:46, Jan Kiszka wrote: > > We need to initializes those variables to 0 for platforms that do not > provide ACPI parameters. Otherwise, we set sda_hold_time to random > values, breaking e.g. Galileo and IOT2000 boards. > > Fixes: 9d6408433019 ("i2c: designware: don't infe