[PATCH] drm/dp_helper: don't return EPROTO for defers

Thierry Reding thierry.reding at gmail.com
Thu Apr 3 23:33:26 PDT 2014


On Fri, Apr 04, 2014 at 09:00:31AM +0300, Jani Nikula wrote:
> On Fri, 04 Apr 2014, Jani Nikula <jani.nikula at linux.intel.com> wrote:
> > On Fri, 04 Apr 2014, Dave Airlie <airlied at gmail.com> wrote:
> >> From: Dave Airlie <airlied at redhat.com>
> >>
> >> If we get a msg.reply of REPLY_DEFER, we also get an err of 0
> >> so we fail reads with 0 < size and return -EPROTO instead of trying
> >> again.
> >>
> >> Found writing MST support.
> >>
> >
> > Reviewed-by: Jani Nikula <jani.nikula at intel.com>
> 
> On second thought, I think you'll need the same for drm_dp_i2c_do_msg()
> as well.

I agree. drm_dp_i2c_do_msg() should have the same change. With that:

Reviewed-by: Thierry Reding <treding at nvidia.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140404/97e6f1e6/attachment.sig>


More information about the dri-devel mailing list