Skip to content

Commit 94ebc3d

Browse files
Yuesong Lidaeinki
authored andcommitted
drivers:drm:exynos_drm_gsc:Fix wrong assignment in gsc_bind()
cocci reported a double assignment problem. Upon reviewing previous commits, it appears this may actually be an incorrect assignment. Fixes: 8b95503 ("drm/ipp: clean up debug messages") Signed-off-by: Yuesong Li <[email protected]> Signed-off-by: Inki Dae <[email protected]>
1 parent 3fcdd06 commit 94ebc3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/exynos/exynos_drm_gsc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1174,7 +1174,7 @@ static int gsc_bind(struct device *dev, struct device *master, void *data)
11741174
struct exynos_drm_ipp *ipp = &ctx->ipp;
11751175

11761176
ctx->drm_dev = drm_dev;
1177-
ctx->drm_dev = drm_dev;
1177+
ipp->drm_dev = drm_dev;
11781178
exynos_drm_register_dma(drm_dev, dev, &ctx->dma_priv);
11791179

11801180
exynos_drm_ipp_register(dev, ipp, &ipp_funcs,

0 commit comments

Comments
 (0)