diff options
author | Jean Delvare <jdelvare@suse.de> | 2011-10-30 12:47:25 (GMT) |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2011-10-30 12:47:25 (GMT) |
commit | 1bddab7f7d5b61f17b0bbd669f60818d553620be (patch) | |
tree | fe2fe08e2027471e7c457bf0bf168e741d64ef7b /drivers/power/isp1704_charger.c | |
parent | 6fcf84a2c0d5f51a457555d76e037cf3cc85bc7a (diff) | |
download | linux-1bddab7f7d5b61f17b0bbd669f60818d553620be.tar.xz |
i2c-algo-bit: Let user test buses without failing
Always failing to register I2C buses when the line testing fails is a
little harsh. While such a failure is definitely a bug in the driver
that exposes the affected I2C bus, things may still work fine if the
missing initialization steps are done later, before the I2C bus is
used. So it seems a better debugging tool to just report the test
failure by default. I introduce bit_test=2 if anyone really misses the
original behavior of bit_test=1.
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
Diffstat (limited to 'drivers/power/isp1704_charger.c')
0 files changed, 0 insertions, 0 deletions