1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-29 16:44:03 +00:00

Followup to r278147. Two more sign errors.

Noted by:	hps
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Konstantin Belousov 2015-02-03 11:34:18 +00:00
parent cbc34301ba
commit 35669caf93
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=278148

View File

@ -609,7 +609,7 @@ intel_dp_i2c_aux_ch(device_t idev, int mode, uint8_t write_byte,
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 mode, uint8_t write_byte,
}
DRM_ERROR("too many retries, giving up\n");
return (EREMOTEIO);
return (-EREMOTEIO);
}
static void ironlake_edp_panel_vdd_on(struct intel_dp *intel_dp);