drm/radeon/kms: fix up gpio i2c mask bits for r4xx
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 14 Nov 2011 19:32:01 +0000 (14:32 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Dec 2011 16:52:23 +0000 (08:52 -0800)
commitff17063daf7bcf76ee1b1cc59e20ae725affc555
tree0267f96c7581cb432ce865c0c9aa6a2c198faf65
parent6717ca81e2dc5fafd8d37025465d4ba851237342
drm/radeon/kms: fix up gpio i2c mask bits for r4xx

commit 6c47e5c23aa2a7c54ad7ac13af4bd56cd9e703bf upstream.

Fixes i2c test failures when i2c_algo_bit.bit_test=1.

The hw doesn't actually require a mask, so just set it
to the default mask bits for r1xx-r4xx radeon ddc.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/radeon/radeon_atombios.c