Commit b6467446 authored by Jani Nikula's avatar Jani Nikula

drm/dp: use DRM_DEBUG_DP() instead of drm_dbg for logging

We have a wrapper for a reason.
Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190121112758.10978-1-jani.nikula@intel.com
parent 47ef63e0
...@@ -194,11 +194,11 @@ drm_dp_dump_access(const struct drm_dp_aux *aux, ...@@ -194,11 +194,11 @@ drm_dp_dump_access(const struct drm_dp_aux *aux,
const char *arrow = request == DP_AUX_NATIVE_READ ? "->" : "<-"; const char *arrow = request == DP_AUX_NATIVE_READ ? "->" : "<-";
if (ret > 0) if (ret > 0)
drm_dbg(DRM_UT_DP, "%s: 0x%05x AUX %s (ret=%3d) %*ph\n", DRM_DEBUG_DP("%s: 0x%05x AUX %s (ret=%3d) %*ph\n",
aux->name, offset, arrow, ret, min(ret, 20), buffer); aux->name, offset, arrow, ret, min(ret, 20), buffer);
else else
drm_dbg(DRM_UT_DP, "%s: 0x%05x AUX %s (ret=%3d)\n", DRM_DEBUG_DP("%s: 0x%05x AUX %s (ret=%3d)\n",
aux->name, offset, arrow, ret); aux->name, offset, arrow, ret);
} }
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment