diff options
| author | Jean-Baptiste Maneyrol <[email protected]> | 2022-06-09 10:23:01 +0000 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2022-06-19 16:22:49 +0000 |
| commit | 106b391e1b859100a3f38f0ad874236e9be06bde (patch) | |
| tree | 348b07492bbd87f56791eac2cfc47411713c33ad /scripts/clang-tools/gen_compile_commands.py | |
| parent | iio: adc: vf610: fix conversion mode sysfs node name (diff) | |
| download | kernel-106b391e1b859100a3f38f0ad874236e9be06bde.tar.gz kernel-106b391e1b859100a3f38f0ad874236e9be06bde.zip | |
iio: imu: inv_icm42600: Fix broken icm42600 (chip id 0 value)
The 0 value used for INV_CHIP_ICM42600 was not working since the
match in i2c/spi was checking against NULL value.
To keep this check, add a first INV_CHIP_INVALID 0 value as safe
guard.
Fixes: 31c24c1e93c3 ("iio: imu: inv_icm42600: add core of new inv_icm42600 driver")
Signed-off-by: Jean-Baptiste Maneyrol <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions
