diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2011-04-17 10:20:19 +0200 |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2011-04-17 10:20:19 +0200 |
commit | d3b3e15da14ded61c9654db05863b04a2435f4cc (patch) | |
tree | c683f167f9e8049201773e4b2884d40cc30a4fd3 /crypto/shash.c | |
parent | i2c: Improve deprecation warnings (diff) | |
download | linux-d3b3e15da14ded61c9654db05863b04a2435f4cc.tar.xz linux-d3b3e15da14ded61c9654db05863b04a2435f4cc.zip |
i2c-algo-bit: Call pre/post_xfer for bit_test
Apparently some distros set i2c-algo-bit.bit_test to 1 by
default. In some cases this causes i2c_bit_add_bus
to fail and prevents the i2c bus from being added. In the
radeon case, we fail to add the ddc i2c buses which prevents
the driver from being able to detect attached monitors.
The i2c bus works fine even if bit_test fails. This is likely
due to gpio switching that is required and handled in the
pre/post_xfer hooks, so call the pre/post_xfer hooks in the
bit test as well.
Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=36221
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: stable@kernel.org [.38 down to .34]
Diffstat (limited to 'crypto/shash.c')
0 files changed, 0 insertions, 0 deletions