Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i2c: i801: Fix the i2c-mux gpiod_lookup_table not being properly term…
…inated commit 0b3ea2a upstream. 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. Fixes: d308dfb ("i2c: mux/i801: Switch to use descriptor passing") Signed-off-by: Hans de Goede <[email protected]> Reviewed-by: Mika Westerberg <[email protected]> Acked-by: Jean Delvare <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Signed-off-by: Wolfram Sang <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information