UPSTREAM: 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)
committerGrant Grundler <grundler@google.com>
Thu, 24 May 2012 22:13:17 +0000 (15:13 -0700)
commita53724967dd840a54bbcbf11c4d16f05c8a593b7
treebcc019e5207ee34cad97c7995ef2105e1e6ab2dc
parent9f2b33e1533ea3d61673731a8b298955b74d6ba7
UPSTREAM: 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>
(cherry picked from commit 489fbc107f5fb041d598f30f367ea3ca714ff133)

Change-Id: Ibf7d04ccf8bc001357cab5b3c8ace6764d7276e3
Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
drivers/gpu/drm/i915/intel_i2c.c