diff options
Diffstat (limited to 'drivers/media/video/bt8xx')
-rw-r--r-- | drivers/media/video/bt8xx/bttv-driver.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/bt8xx/bttv-driver.c b/drivers/media/video/bt8xx/bttv-driver.c index 06c40c91a6f7..0ea559a7fe59 100644 --- a/drivers/media/video/bt8xx/bttv-driver.c +++ b/drivers/media/video/bt8xx/bttv-driver.c | |||
@@ -3705,7 +3705,7 @@ static void bttv_risc_disasm(struct bttv *btv, | |||
3705 | for (i = 0; i < (risc->size >> 2); i += n) { | 3705 | for (i = 0; i < (risc->size >> 2); i += n) { |
3706 | printk("%s: 0x%lx: ", btv->c.name, | 3706 | printk("%s: 0x%lx: ", btv->c.name, |
3707 | (unsigned long)(risc->dma + (i<<2))); | 3707 | (unsigned long)(risc->dma + (i<<2))); |
3708 | n = bttv_risc_decode(risc->cpu[i]); | 3708 | n = bttv_risc_decode(le32_to_cpu(risc->cpu[i])); |
3709 | for (j = 1; j < n; j++) | 3709 | for (j = 1; j < n; j++) |
3710 | printk("%s: 0x%lx: 0x%08x [ arg #%d ]\n", | 3710 | printk("%s: 0x%lx: 0x%08x [ arg #%d ]\n", |
3711 | btv->c.name, (unsigned long)(risc->dma + ((i+j)<<2)), | 3711 | btv->c.name, (unsigned long)(risc->dma + ((i+j)<<2)), |
@@ -3774,8 +3774,8 @@ static void bttv_irq_debug_low_latency(struct bttv *btv, u32 rc) | |||
3774 | printk("bttv%d: irq: skipped frame [main=%lx,o_vbi=%lx,o_field=%lx,rc=%lx]\n", | 3774 | printk("bttv%d: irq: skipped frame [main=%lx,o_vbi=%lx,o_field=%lx,rc=%lx]\n", |
3775 | btv->c.nr, | 3775 | btv->c.nr, |
3776 | (unsigned long)btv->main.dma, | 3776 | (unsigned long)btv->main.dma, |
3777 | (unsigned long)btv->main.cpu[RISC_SLOT_O_VBI+1], | 3777 | (unsigned long)le32_to_cpu(btv->main.cpu[RISC_SLOT_O_VBI+1]), |
3778 | (unsigned long)btv->main.cpu[RISC_SLOT_O_FIELD+1], | 3778 | (unsigned long)le32_to_cpu(btv->main.cpu[RISC_SLOT_O_FIELD+1]), |
3779 | (unsigned long)rc); | 3779 | (unsigned long)rc); |
3780 | 3780 | ||
3781 | if (0 == (btread(BT848_DSTATUS) & BT848_DSTATUS_HLOC)) { | 3781 | if (0 == (btread(BT848_DSTATUS) & BT848_DSTATUS_HLOC)) { |