]> git.baikalelectronics.ru Git - kernel.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)
commitce6006a7b66b7e105d52327073a44c7605b87ad5
tree10b2a1f72d7142f788dc418d4c3fcfbcb42686c3
parent403e9d30adbd11f3a3efd5e2b2982bee598f7ed9
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