commit | 2d74187d5b4e29776e151ffcc09bdaedfd46e002 | [log] [tgz] |
---|---|---|
author | Peter Rosin <peda@axentia.se> | Mon Jan 22 08:40:02 2018 +0100 |
committer | Peter Rosin <peda@axentia.se> | Tue Mar 06 10:57:59 2018 +0100 |
tree | 4b2a2db9d0e15e2984bf36bb87433ca3a6795757 | |
parent | dde67eb1beebcd8493e7b30e74a80f0865ab7e36 [diff] |
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>