drm/radeon/kms: fix some logic errors in combios i2c mapping
authorAlex Deucher <alexdeucher@gmail.com>
Wed, 4 May 2011 15:14:44 +0000 (15:14 +0000)
committerDave Airlie <airlied@redhat.com>
Mon, 9 May 2011 02:41:01 +0000 (12:41 +1000)
commit776f2b7cb473baa52cdeee9804073342dee7d7cb
tree860cd10ebbde811fa128f3b059060d6b798e08ea
parentd4a3b10c16a1bdb09483233bd7aeac684ccc160a
drm/radeon/kms: fix some logic errors in combios i2c mapping

The virtual i2c to real i2c channel mappings weren't setting
the right id in some cases.

Spotted by: Andrew Randrianasulu

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_combios.c