On Mon, Dec 21, 2020 at 2:42 PM Hans de Goede <hdegoede@xxxxxxxxxx> wrote: > gpiod_add_lookup_table() expects the gpiod_lookup_table->table passed to > it to be terminated with a zero-ed out entry. > > So we need to allocate one more entry then we will use. > > Cc: Serge Semin <fancer.lancer@xxxxxxxxx> > Cc: Linus Walleij <linus.walleij@xxxxxxxxxx> > Cc: Andy Shevchenko <andy@xxxxxxxxxxxxx> > Cc: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx> > Fixes: d308dfbf62ef ("i2c: mux/i801: Switch to use descriptor passing") > Signed-off-by: Hans de Goede <hdegoede@xxxxxxxxxx> Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx> Yours, Linus Walleij