aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/adv7170.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2009-03-06 08:15:01 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 11:43:15 -0400
commitcc5cef8ea4fdc41b44007c5d2c116fe97cb87293 (patch)
tree76743535f52f266ae0c3e1711503ace8ef2d3861 /drivers/media/video/adv7170.c
parent9185cbfc336a080695304bcb781186559d987974 (diff)
V4L/DVB (10914): v4l2: fix compile warnings when printing u64 value.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/adv7170.c')
-rw-r--r--drivers/media/video/adv7170.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/media/video/adv7170.c b/drivers/media/video/adv7170.c
index 43fd1d24cdeb..873c30a41bd7 100644
--- a/drivers/media/video/adv7170.c
+++ b/drivers/media/video/adv7170.c
@@ -195,7 +195,7 @@ static int adv7170_s_std_output(struct v4l2_subdev *sd, v4l2_std_id std)
195{ 195{
196 struct adv7170 *encoder = to_adv7170(sd); 196 struct adv7170 *encoder = to_adv7170(sd);
197 197
198 v4l2_dbg(1, debug, sd, "set norm %llx\n", std); 198 v4l2_dbg(1, debug, sd, "set norm %llx\n", (unsigned long long)std);
199 199
200 if (std & V4L2_STD_NTSC) { 200 if (std & V4L2_STD_NTSC) {
201 adv7170_write_block(sd, init_NTSC, sizeof(init_NTSC)); 201 adv7170_write_block(sd, init_NTSC, sizeof(init_NTSC));
@@ -210,10 +210,11 @@ static int adv7170_s_std_output(struct v4l2_subdev *sd, v4l2_std_id std)
210 adv7170_write(sd, 0x07, TR0MODE | TR0RST); 210 adv7170_write(sd, 0x07, TR0MODE | TR0RST);
211 adv7170_write(sd, 0x07, TR0MODE); 211 adv7170_write(sd, 0x07, TR0MODE);
212 } else { 212 } else {
213 v4l2_dbg(1, debug, sd, "illegal norm: %llx\n", std); 213 v4l2_dbg(1, debug, sd, "illegal norm: %llx\n",
214 (unsigned long long)std);
214 return -EINVAL; 215 return -EINVAL;
215 } 216 }
216 v4l2_dbg(1, debug, sd, "switched to %llx\n", std); 217 v4l2_dbg(1, debug, sd, "switched to %llx\n", (unsigned long long)std);
217 encoder->norm = std; 218 encoder->norm = std;
218 return 0; 219 return 0;
219} 220}