drm/rockchip: dw_hdmi: improve readability of unknown property
The original set the property error message: [drm:dw_hdmi_rockchip_set_property] *ERROR* failed to set rockchip hdmi connector property This patch will output the useful information as below: [drm:dw_hdmi_rockchip_set_property] *ERROR* Unknown property [PROP:198:hdmi_color_depth_capacity] Signed-off-by: Caesar Wang <wxt@rock-chips.com> Change-Id: I43762d395ebed5e0fcaa96d1ebc6142a5fe1b068
This commit is contained in:
parent
0d7b0f59bd
commit
325213d280
|
|
@ -2352,7 +2352,9 @@ dw_hdmi_rockchip_set_property(struct drm_connector *connector,
|
|||
return 0;
|
||||
}
|
||||
|
||||
DRM_ERROR("failed to set rockchip hdmi connector property\n");
|
||||
DRM_ERROR("Unknown property [PROP:%d:%s]\n",
|
||||
property->base.id, property->name);
|
||||
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
|
@ -2423,7 +2425,9 @@ dw_hdmi_rockchip_get_property(struct drm_connector *connector,
|
|||
return 0;
|
||||
}
|
||||
|
||||
DRM_ERROR("failed to get rockchip hdmi connector property\n");
|
||||
DRM_ERROR("Unknown property [PROP:%d:%s]\n",
|
||||
property->base.id, property->name);
|
||||
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue