drm/komeda: Fix typos in komeda_splitter_validate
authorMihail Atanassov <Mihail.Atanassov@arm.com>
Mon, 30 Sep 2019 12:23:07 +0000 (12:23 +0000)
committerMihail Atanassov <mihail.atanassov@arm.com>
Mon, 21 Oct 2019 13:50:51 +0000 (14:50 +0100)
Fix both the string and the struct member being printed.

Changes since v1:
 - Now with a bonus grammar fix, too.

Fixes: 264b9436d23b ("drm/komeda: Enable writeback split support")
Reviewed-by: James Qian Wang (Arm Technology China) <james.qian.wang@arm.com>
Signed-off-by: Mihail Atanassov <mihail.atanassov@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190930122231.33029-1-mihail.atanassov@arm.com
drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c

index ea26bc9..b848270 100644 (file)
@@ -564,8 +564,8 @@ komeda_splitter_validate(struct komeda_splitter *splitter,
        }
 
        if (!in_range(&splitter->vsize, dflow->in_h)) {
-               DRM_DEBUG_ATOMIC("split in_in: %d exceed the acceptable range.\n",
-                                dflow->in_w);
+               DRM_DEBUG_ATOMIC("split in_h: %d exceeds the acceptable range.\n",
+                                dflow->in_h);
                return -EINVAL;
        }