[PATCH 40/41] drm/bridge: analogix_dp: Properly log AUX CH errors

Andrzej Hajda a.hajda at samsung.com
Wed Mar 22 03:47:56 PDT 2017


On 10.03.2017 05:32, Sean Paul wrote:
> From: Douglas Anderson <dianders at chromium.org>
>
> The code in analogix_dp_transfer() that was supposed to print out:
>   AUX CH error happened
>
> Was actually dead code. That's because the previous check (whether
> the interrupt status indicated any errors) would have hit for all
> errors anyway.
>
> Let's combine the two error checks so we can actually see AUX CH
> errors.  We'll also downgrade the message to a warning since some of
> these types of errors might be expected for some displays.  If this
> gets too noisy we can downgrade again to debug.
>
> Cc: 征增 王 <wzz at rock-chips.com>
> Signed-off-by: Douglas Anderson <dianders at chromium.org>
> Signed-off-by: Sean Paul <seanpaul at chromium.org>
Reviewed-by: Andrzej Hajda <a.hajda at samsung.com>
--
Regards
Andrzej




More information about the Linux-rockchip mailing list