summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/panel/panel-lg-lg4573.c
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyuw@linux.intel.com>2020-10-30 04:48:17 +0100
committerZhenyu Wang <zhenyuw@linux.intel.com>2020-10-30 04:48:17 +0100
commit4a95857a875e887cc958c92fe9d2cde6184d2ec0 (patch)
tree8d67b681d582ba7ee11a359be7af82ed77bd6620 /drivers/gpu/drm/panel/panel-lg-lg4573.c
parentdrm/i915/gvt: Only pin/unpin intel_context along with workload (diff)
parentdrm/i915: Reject 90/270 degree rotated initial fbs (diff)
downloadlinux-4a95857a875e887cc958c92fe9d2cde6184d2ec0.tar.xz
linux-4a95857a875e887cc958c92fe9d2cde6184d2ec0.zip
Merge tag 'drm-intel-fixes-2020-10-29' into gvt-fixes
Backmerge for 5.10-rc1 to apply one extra APL fix. Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/panel/panel-lg-lg4573.c')
-rw-r--r--drivers/gpu/drm/panel/panel-lg-lg4573.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/panel/panel-lg-lg4573.c b/drivers/gpu/drm/panel/panel-lg-lg4573.c
index aedc485d0727..8e5160af1de5 100644
--- a/drivers/gpu/drm/panel/panel-lg-lg4573.c
+++ b/drivers/gpu/drm/panel/panel-lg-lg4573.c
@@ -261,7 +261,9 @@ static int lg4573_probe(struct spi_device *spi)
drm_panel_init(&ctx->panel, &spi->dev, &lg4573_drm_funcs,
DRM_MODE_CONNECTOR_DPI);
- return drm_panel_add(&ctx->panel);
+ drm_panel_add(&ctx->panel);
+
+ return 0;
}
static int lg4573_remove(struct spi_device *spi)