Commit 2f349daa authored by Stefan Ringel's avatar Stefan Ringel Committed by Mauro Carvalho Chehab

[media] tm6000: add pts logging

Signed-off-by: default avatarStefan Ringel <stefan.ringel@arcor.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 1f385717
...@@ -355,11 +355,15 @@ static int copy_streams(u8 *data, unsigned long len, ...@@ -355,11 +355,15 @@ static int copy_streams(u8 *data, unsigned long len,
case TM6000_URB_MSG_VBI: case TM6000_URB_MSG_VBI:
/* Need some code to copy vbi buffer */ /* Need some code to copy vbi buffer */
break; break;
case TM6000_URB_MSG_PTS: case TM6000_URB_MSG_PTS: {
/* Need some code to copy 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; break;
} }
} }
}
if (ptr + pktsize > endp) { if (ptr + pktsize > endp) {
/* End of URB packet, but cmd processing is not /* End of URB packet, but cmd processing is not
* complete. Preserve the state for a next packet * complete. Preserve the state for a next packet
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment