svn commit: r278148 - head/sys/dev/drm2/i915
Konstantin Belousov
kib at FreeBSD.org
Tue Feb 3 11:34:19 UTC 2015
Author: kib
Date: Tue Feb 3 11:34:18 2015
New Revision: 278148
URL: https://svnweb.freebsd.org/changeset/base/278148
Log:
Followup to r278147. Two more sign errors.
Noted by: hps
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/dev/drm2/i915/intel_dp.c
Modified: head/sys/dev/drm2/i915/intel_dp.c
==============================================================================
--- head/sys/dev/drm2/i915/intel_dp.c Tue Feb 3 10:46:07 2015 (r278147)
+++ head/sys/dev/drm2/i915/intel_dp.c Tue Feb 3 11:34:18 2015 (r278148)
@@ -609,7 +609,7 @@ intel_dp_i2c_aux_ch(device_t idev, int m
reply, reply_bytes);
if (ret < 0) {
DRM_DEBUG_KMS("aux_ch failed %d\n", ret);
- return (-ret);
+ return (ret);
}
switch (reply[0] & AUX_NATIVE_REPLY_MASK) {
@@ -650,7 +650,7 @@ intel_dp_i2c_aux_ch(device_t idev, int m
}
DRM_ERROR("too many retries, giving up\n");
- return (EREMOTEIO);
+ return (-EREMOTEIO);
}
static void ironlake_edp_panel_vdd_on(struct intel_dp *intel_dp);
More information about the svn-src-all
mailing list