Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/dist/drm/i915 Also get the sense of th...



details:   https://anonhg.NetBSD.org/src/rev/87543133f009
branches:  trunk
changeset: 336361:87543133f009
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Fri Feb 27 04:40:17 2015 +0000

description:
Also get the sense of the condition to wait until right.  @!&#^$@!&*

diffstat:

 sys/external/bsd/drm2/dist/drm/i915/intel_i2c.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r f954e52ad440 -r 87543133f009 sys/external/bsd/drm2/dist/drm/i915/intel_i2c.c
--- a/sys/external/bsd/drm2/dist/drm/i915/intel_i2c.c   Fri Feb 27 04:35:02 2015 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/intel_i2c.c   Fri Feb 27 04:40:17 2015 +0000
@@ -302,7 +302,7 @@
                DRM_SPIN_TIMED_WAIT_UNTIL(ret, &dev_priv->gmbus_wait_queue,
                    &dev_priv->gmbus_wait_lock, mstohz(50),
                    (gmbus2 = I915_READ_NOTRACE(GMBUS2 + reg_offset),
-                       !ISSET(gmbus2, (GMBUS_SATOER | gmbus2_status))));
+                       ISSET(gmbus2, (GMBUS_SATOER | gmbus2_status))));
        }
        spin_unlock(&dev_priv->gmbus_wait_lock);
 #else



Home | Main Index | Thread Index | Old Index