diff options
author | Peter Rosin <peda@axentia.se> | 2018-01-22 08:40:02 +0100 |
---|---|---|
committer | Peter Rosin <peda@axentia.se> | 2018-03-06 10:57:59 +0100 |
commit | 2d74187d5b4e29776e151ffcc09bdaedfd46e002 (patch) | |
tree | 4b2a2db9d0e15e2984bf36bb87433ca3a6795757 /drivers/i2c/i2c-core-base.c | |
parent | dde67eb1beebcd8493e7b30e74a80f0865ab7e36 (diff) | |
download | op-kernel-dev-2d74187d5b4e29776e151ffcc09bdaedfd46e002.zip op-kernel-dev-2d74187d5b4e29776e151ffcc09bdaedfd46e002.tar.gz |
i2c: mux: pca954x: verify the device id of the pca984x chips
Make sure to not disallow the chips on adapters that are not capable
of reading the device id, but also make sure to check the device id
before writing to the chip.
Tested-by: Adrian Fiergolski <adrian.fiergolski@cern.ch>
Signed-off-by: Peter Rosin <peda@axentia.se>
Diffstat (limited to 'drivers/i2c/i2c-core-base.c')
0 files changed, 0 insertions, 0 deletions