Merge "disp: msm: dp: replace pr_err with DP_ERR"
This commit is contained in:
commit
a9e9c3d500
@ -3051,7 +3051,7 @@ static int dp_display_setup_colospace(struct dp_display *dp_display,
|
|||||||
struct dp_display_private *dp;
|
struct dp_display_private *dp;
|
||||||
|
|
||||||
if (!dp_display || !panel) {
|
if (!dp_display || !panel) {
|
||||||
pr_err("invalid input\n");
|
DP_ERR("invalid input\n");
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2017-2020, The Linux Foundation. All rights reserved.
|
* Copyright (c) 2017-2021, The Linux Foundation. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <drm/drm_atomic_helper.h>
|
#include <drm/drm_atomic_helper.h>
|
||||||
@ -336,7 +336,7 @@ int dp_connector_set_colorspace(struct drm_connector *connector,
|
|||||||
|
|
||||||
sde_conn = to_sde_connector(connector);
|
sde_conn = to_sde_connector(connector);
|
||||||
if (!sde_conn->drv_panel) {
|
if (!sde_conn->drv_panel) {
|
||||||
pr_err("invalid dp panel\n");
|
DP_ERR("invalid dp panel\n");
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2012-2020, The Linux Foundation. All rights reserved.
|
* Copyright (c) 2012-2021, The Linux Foundation. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dp_panel.h"
|
#include "dp_panel.h"
|
||||||
@ -2571,7 +2571,7 @@ static int dp_panel_set_colorspace(struct dp_panel *dp_panel,
|
|||||||
struct dp_panel_private *panel;
|
struct dp_panel_private *panel;
|
||||||
|
|
||||||
if (!dp_panel) {
|
if (!dp_panel) {
|
||||||
pr_err("invalid input\n");
|
DP_ERR("invalid input\n");
|
||||||
rc = -EINVAL;
|
rc = -EINVAL;
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user