mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-30 16:07:39 +00:00
[media] tm6000: add pts logging
Signed-off-by: Stefan Ringel <stefan.ringel@arcor.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
1f385717c9
commit
2f349daa01
1 changed files with 5 additions and 1 deletions
|
@ -355,10 +355,14 @@ static int copy_streams(u8 *data, unsigned long len,
|
|||
case TM6000_URB_MSG_VBI:
|
||||
/* Need some code to copy vbi buffer */
|
||||
break;
|
||||
case TM6000_URB_MSG_PTS:
|
||||
case TM6000_URB_MSG_PTS: {
|
||||
/* Need some code to copy pts */
|
||||
u32 pts;
|
||||
pts = *(u32 *)ptr;
|
||||
printk(KERN_INFO "%s: field %d, PTS %x", dev->name, field, pts);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (ptr + pktsize > endp) {
|
||||
/* End of URB packet, but cmd processing is not
|
||||
|
|
Loading…
Reference in a new issue