drm/i915/intel_i2c: use i2c pre/post_xfer functions to setup gpio xfers
authorDaniel Kurtz <djkurtz@chromium.org>
Tue, 27 Mar 2012 18:36:13 +0000 (02:36 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 28 Mar 2012 07:45:52 +0000 (09:45 +0200)
commit489fbc107f5fb041d598f30f367ea3ca714ff133
treeb365944f499a729f28441e99ba797d7bdcbaf230
parente4fd17af6156b46fae3f9115830e1a35a62cd8e7
drm/i915/intel_i2c: use i2c pre/post_xfer functions to setup gpio xfers

Instead of rolling our own custom quirk_xfer function, use the bit_algo
pre_xfer and post_xfer functions to setup and teardown bit-banged
i2c transactions.

Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_i2c.c