dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Shirish S <s.shirish@samsung.com>
Cc: dri-devel@lists.freedesktop.org
Subject: Re: [PATCH V6] drm: edid: add support for E-DDC
Date: Thu, 30 Aug 2012 13:58:02 +0300	[thread overview]
Message-ID: <20120830105802.GA6906@intel.com> (raw)
In-Reply-To: <1346310246-21412-2-git-send-email-s.shirish@samsung.com>

On Thu, Aug 30, 2012 at 12:34:06PM +0530, Shirish S wrote:
> @@ -276,15 +283,21 @@ drm_do_probe_ddc_edid(struct i2c_adapter *adapter, unsigned char *buf,
>  				.buf	= buf,
>  			}
>  		};
> -		ret = i2c_transfer(adapter, msgs, 2);
> +
> +	/*
> +	 * Avoid sending the segment addr to not upset non-compliant ddc
> +	 * monitors.
> +	 */

Indentation is still wrong. Or is it gettimg mangled by some email server?

> +		ret = i2c_transfer(adapter, &msgs[3 - xfers], xfers);
> +
>  		if (ret == -ENXIO) {
>  			DRM_DEBUG_KMS("drm: skipping non-existent adapter %s\n",
>  					adapter->name);
>  			break;
>  		}
> -	} while (ret != 2 && --retries);
> +	} while (ret != xfers && --retries);
>  
> -	return ret == 2 ? 0 : -1;
> +	return ret == xfers ? 0 : -1;
>  }
>  
>  static bool drm_edid_is_zero(u8 *in_edid, int length)

-- 
Ville Syrjälä
Intel OTC

  reply	other threads:[~2012-08-30 10:58 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-30  7:04 [PATCH V6] drm: edid: add support for E-DDC Shirish S
2012-08-30  7:04 ` Shirish S
2012-08-30 10:58   ` Ville Syrjälä [this message]
2012-08-30 16:17     ` Shirish S
2012-09-03 15:54   ` Shirish S
2012-09-04 13:45     ` Adam Jackson
2012-09-08  2:30     ` Shirish S
2012-09-08 10:35       ` Dave Airlie
2012-09-08 15:49         ` Shirish S
2012-09-08 16:13           ` Paul Menzel
2012-09-09  1:04             ` Shirish S
2012-09-10 18:46         ` Adam Jackson
2012-09-13 14:36     ` Shirish S
2012-09-13 20:08       ` Dave Airlie
  -- strict thread matches above, loose matches on Subject: below --
2012-08-30  7:00 y
2012-08-30  7:00 ` [PATCH v6] " y
2012-08-30  6:53 [PATCH V6] " y

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120830105802.GA6906@intel.com \
    --to=ville.syrjala@linux.intel.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=s.shirish@samsung.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox