diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/tm6000/tm6000-video.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/staging/tm6000/tm6000-video.c b/drivers/staging/tm6000/tm6000-video.c index 2d83204883ad..48023965656c 100644 --- a/drivers/staging/tm6000/tm6000-video.c +++ b/drivers/staging/tm6000/tm6000-video.c | |||
@@ -355,10 +355,14 @@ static int copy_streams(u8 *data, unsigned long len, | |||
355 | case TM6000_URB_MSG_VBI: | 355 | case TM6000_URB_MSG_VBI: |
356 | /* Need some code to copy vbi buffer */ | 356 | /* Need some code to copy vbi buffer */ |
357 | break; | 357 | break; |
358 | case TM6000_URB_MSG_PTS: | 358 | case TM6000_URB_MSG_PTS: { |
359 | /* Need some code to copy pts */ | 359 | /* Need some code to copy pts */ |
360 | u32 pts; | ||
361 | pts = *(u32 *)ptr; | ||
362 | printk(KERN_INFO "%s: field %d, PTS %x", dev->name, field, pts); | ||
360 | break; | 363 | break; |
361 | } | 364 | } |
365 | } | ||
362 | } | 366 | } |
363 | if (ptr + pktsize > endp) { | 367 | if (ptr + pktsize > endp) { |
364 | /* End of URB packet, but cmd processing is not | 368 | /* End of URB packet, but cmd processing is not |