]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/radeon/kms: Fix I2C mask definitions
authorJean Delvare <jdelvare@suse.de>
Thu, 6 Oct 2011 16:16:24 +0000 (18:16 +0200)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Thu, 8 Dec 2011 19:17:45 +0000 (11:17 -0800)
commit20f637dfa0fdb3b2c94a72759253a701885f1538
tree7c10958270b12f6482380f96b423c6e536ffbdd2
parent87dba21c83bcff04e159ac00b5efb6e7e239564f
drm/radeon/kms: Fix I2C mask definitions

commit 286e0c94f9c3f292cb38a977fbbde3433347a868 upstream.

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>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/radeon/radeon_combios.c