[media] Add missing logging for rangelow/high of hwseek
authorHans Verkuil <hverkuil@xs4all.nl>
Wed, 1 Aug 2012 19:18:41 +0000 (16:18 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 12 Aug 2012 02:30:36 +0000 (23:30 -0300)
struct v4l2_hw_freq_seek has two new fields that weren't printed in the
logging function. Added.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/v4l2-ioctl.c

index 54f4ac612e8e60bfeec18c16667890051de28653..6bc47fc82fe2f799bfff8a3f885fae27bf1a0aa0 100644 (file)
@@ -402,8 +402,10 @@ static void v4l_print_hw_freq_seek(const void *arg, bool write_only)
 {
        const struct v4l2_hw_freq_seek *p = arg;
 
-       pr_cont("tuner=%u, type=%u, seek_upward=%u, wrap_around=%u, spacing=%u\n",
-               p->tuner, p->type, p->seek_upward, p->wrap_around, p->spacing);
+       pr_cont("tuner=%u, type=%u, seek_upward=%u, wrap_around=%u, spacing=%u, "
+               "rangelow=%u, rangehigh=%u\n",
+               p->tuner, p->type, p->seek_upward, p->wrap_around, p->spacing,
+               p->rangelow, p->rangehigh);
 }
 
 static void v4l_print_requestbuffers(const void *arg, bool write_only)