drm/radeon/kms: Fix I2C mask definitions
authorJean Delvare <jdelvare@suse.de>
Thu, 6 Oct 2011 16:16:24 +0000 (18:16 +0200)
committerDave Airlie <airlied@redhat.com>
Mon, 10 Oct 2011 08:03:10 +0000 (09:03 +0100)
commit286e0c94f9c3f292cb38a977fbbde3433347a868
tree5135030baf1fadd26d63532328648e2488643e7d
parentc6ca8391793762713e81153a0c1206f7e20e2189
drm/radeon/kms: Fix I2C mask definitions

Commit 9b9fe724 accidentally used RADEON_GPIO_EN_* where
RADEON_GPIO_MASK_* was intended. This caused improper initialization
of I2C buses, mostly visible when setting i2c_algo_bit.bit_test=1.
Using the right constants fixes the problem.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Cc: Jerome Glisse <j.glisse@gmail.com>
Cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_combios.c