media: controls: Log VP8 stateless control in .std_log
authorEzequiel Garcia <ezequiel@collabora.com>
Thu, 4 Mar 2021 14:07:53 +0000 (15:07 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 22 Mar 2021 08:51:12 +0000 (09:51 +0100)
Simply print the type of the control.

Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/v4l2-core/v4l2-ctrls.c

index 458051e684e655e00adbc855f007a4231c54da32..b3fc293bb8f023b3ea70f0d42f579f5a5e5b8ce0 100644 (file)
@@ -1787,6 +1787,9 @@ static void std_log(const struct v4l2_ctrl *ctrl)
        case V4L2_CTRL_TYPE_FWHT_PARAMS:
                pr_cont("FWHT_PARAMS");
                break;
+       case V4L2_CTRL_TYPE_VP8_FRAME:
+               pr_cont("VP8_FRAME");
+               break;
        default:
                pr_cont("unknown type %d", ctrl->type);
                break;