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 ea26bc9c2d0012e7c4703227464f462b70f1fd4b..b848270e0a1f4323c1a0fd7cc18e11afcd159169 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;
        }