drm/radeon/kms: take the pm mutex when using hw i2c
authorAlex Deucher <alexdeucher@gmail.com>
Sat, 6 Feb 2010 22:06:42 +0000 (17:06 -0500)
committerDave Airlie <airlied@redhat.com>
Mon, 8 Feb 2010 23:32:32 +0000 (09:32 +1000)
we need a constant sclk for i2c prescale.  Also,
get the current sclk when calculating prescale rather
than using the default sclk.

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found