diff options
author | Hans de Goede <[email protected]> | 2020-12-21 14:42:25 +0100 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2021-01-04 19:25:02 +0100 |
commit | 0b3ea2a06de1f52ea30865e227e109a5fd3b6214 (patch) | |
tree | 813682f4c3ce2f2a89d3da19448e79ec54bbbafa /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 0b884fe71f9ee6a5df35e677154256ea2099ebb8 (diff) |
i2c: i801: Fix the i2c-mux gpiod_lookup_table not being properly terminated
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: d308dfbf62ef ("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]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions