diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-11-21 10:58:05 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-11-22 11:48:54 +1000 |
commit | 791cfe2684a74ed7155254816ff9e89e6064277c (patch) | |
tree | 8eca53c8ad35123f9d013bcca3377f1ec048f9cf /drivers/gpu | |
parent | 3561d43fd289f590fdae672e5eb831b8d5cf0bf6 (diff) |
drm/radeon/kms: fix regression in rs4xx i2c setup
typo in my last i2c rework.
Fixes:
https://bugzilla.kernel.org/show_bug.cgi?id=23222
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_combios.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_combios.c b/drivers/gpu/drm/radeon/radeon_combios.c index 3bddea5b529..137b8075f6e 100644 --- a/drivers/gpu/drm/radeon/radeon_combios.c +++ b/drivers/gpu/drm/radeon/radeon_combios.c @@ -729,7 +729,7 @@ void radeon_combios_i2c_init(struct radeon_device *rdev) clk = RBIOS8(offset + 3 + (i * 5) + 3); data = RBIOS8(offset + 3 + (i * 5) + 4); i2c = combios_setup_i2c_bus(rdev, DDC_MONID, - clk, data); + (1 << clk), (1 << data)); rdev->i2c_bus[4] = radeon_i2c_create(dev, &i2c, "GPIOPAD_MASK"); break; } |