aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/bt819.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/bt819.c')
-rw-r--r--drivers/media/video/bt819.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/video/bt819.c b/drivers/media/video/bt819.c
index f2ebf8441aa0..e0d8e2b186d1 100644
--- a/drivers/media/video/bt819.c
+++ b/drivers/media/video/bt819.c
@@ -248,7 +248,7 @@ static int bt819_s_std(struct v4l2_subdev *sd, v4l2_std_id std)
248 struct bt819 *decoder = to_bt819(sd); 248 struct bt819 *decoder = to_bt819(sd);
249 struct timing *timing = NULL; 249 struct timing *timing = NULL;
250 250
251 v4l2_dbg(1, debug, sd, "set norm %llx\n", std); 251 v4l2_dbg(1, debug, sd, "set norm %llx\n", (unsigned long long)std);
252 252
253 if (std & V4L2_STD_NTSC) { 253 if (std & V4L2_STD_NTSC) {
254 bt819_setbit(decoder, 0x01, 0, 1); 254 bt819_setbit(decoder, 0x01, 0, 1);
@@ -267,7 +267,8 @@ static int bt819_s_std(struct v4l2_subdev *sd, v4l2_std_id std)
267 /* bt819_setbit(decoder, 0x1a, 5, 0); */ 267 /* bt819_setbit(decoder, 0x1a, 5, 0); */
268 timing = &timing_data[0]; 268 timing = &timing_data[0];
269 } else { 269 } else {
270 v4l2_dbg(1, debug, sd, "unsupported norm %llx\n", std); 270 v4l2_dbg(1, debug, sd, "unsupported norm %llx\n",
271 (unsigned long long)std);
271 return -EINVAL; 272 return -EINVAL;
272 } 273 }
273 bt819_write(decoder, 0x03, 274 bt819_write(decoder, 0x03,