]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/radeon/kms: Simplify I2C post_xfer function
authorJean Delvare <jdelvare@suse.de>
Thu, 13 Oct 2011 08:39:22 +0000 (10:39 +0200)
committerDave Airlie <airlied@redhat.com>
Tue, 18 Oct 2011 09:03:15 +0000 (10:03 +0100)
commit43e5f612578e80b0b0f0122c0a42d2c71faea580
tree10b2a1f72d7142f788dc418d4c3fcfbcb42686c3
parenta88cab2bb15bbfe7ab39efc45ebd414d30dbb258
drm/radeon/kms: Simplify I2C post_xfer function

There is no point in re-doing in post_xfer all the initialization
that was already done by pre_xfer. Instead, only do the work which
differs from pre_xfer.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_i2c.c