From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jani Nikula Subject: Re: [PATCH 2/5] drm/i915/dp: Cache EDID for a detection cycle Date: Wed, 03 Sep 2014 11:23:09 +0300 Message-ID: <87zjehgljm.fsf@intel.com> References: <1409684643-1569-1-git-send-email-chris@chris-wilson.co.uk> <1409684643-1569-2-git-send-email-chris@chris-wilson.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTP id C9CA16E3C4 for ; Wed, 3 Sep 2014 01:23:36 -0700 (PDT) In-Reply-To: <1409684643-1569-2-git-send-email-chris@chris-wilson.co.uk> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Chris Wilson , intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Tue, 02 Sep 2014, Chris Wilson wrote: > @@ -3819,27 +3819,55 @@ intel_dp_get_edid(struct drm_connector *connector, struct i2c_adapter *adapter) > return NULL; > > return drm_edid_duplicate(intel_connector->edid); > - } > + } else > + return drm_get_edid(&intel_connector->base, > + &intel_dp->aux.ddc); Nitpick, I'd like to see braces on all branches if one branch requires them. Also CodingStyle. BR, Jani. -- Jani Nikula, Intel Open Source Technology Center