Re: [PATCH] drm/gma500: fix error check

2020-08-19 Thread Patrik Jakobsson
On Wed, Aug 5, 2020 at 10:59 PM wrote: > > From: Tom Rix > > Reviewing this block of code in cdv_intel_dp_init() > > ret = cdv_intel_dp_aux_native_read(gma_encoder, DP_DPCD_REV, ... > > cdv_intel_edp_panel_vdd_off(gma_encoder); > if (ret == 0) { > /* if this fails, presume the device is

[PATCH] drm/gma500: fix error check

2020-08-05 Thread trix
From: Tom Rix Reviewing this block of code in cdv_intel_dp_init() ret = cdv_intel_dp_aux_native_read(gma_encoder, DP_DPCD_REV, ... cdv_intel_edp_panel_vdd_off(gma_encoder); if (ret == 0) { /* if this fails, presume the device is a ghost */ DRM_INFO("failed to retrieve link