aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/msm/mddi.c5
-rw-r--r--drivers/video/msm/mdp.c3
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/msm/mddi.c b/drivers/video/msm/mddi.c
index 7c316c34dfca..b66d86ac7cea 100644
--- a/drivers/video/msm/mddi.c
+++ b/drivers/video/msm/mddi.c
@@ -318,7 +318,7 @@ static long mddi_wait_interrupt_timeout(struct mddi_info *mddi,
318static void mddi_wait_interrupt(struct mddi_info *mddi, uint32_t intmask) 318static void mddi_wait_interrupt(struct mddi_info *mddi, uint32_t intmask)
319{ 319{
320 if (mddi_wait_interrupt_timeout(mddi, intmask, HZ/10) == 0) 320 if (mddi_wait_interrupt_timeout(mddi, intmask, HZ/10) == 0)
321 printk(KERN_INFO KERN_ERR "mddi_wait_interrupt %d, timeout " 321 printk(KERN_INFO "mddi_wait_interrupt %d, timeout "
322 "waiting for %x, INT = %x, STAT = %x gotint = %x\n", 322 "waiting for %x, INT = %x, STAT = %x gotint = %x\n",
323 current->pid, intmask, mddi_readl(INT), mddi_readl(STAT), 323 current->pid, intmask, mddi_readl(INT), mddi_readl(STAT),
324 mddi->got_int); 324 mddi->got_int);
@@ -465,8 +465,7 @@ static int __init mddi_get_client_caps(struct mddi_info *mddi)
465 465
466 if (mddi->flags & FLAG_HAVE_CAPS) 466 if (mddi->flags & FLAG_HAVE_CAPS)
467 break; 467 break;
468 printk(KERN_INFO KERN_ERR "mddi_init, timeout waiting for " 468 printk(KERN_INFO "mddi_init, timeout waiting for caps\n");
469 "caps\n");
470 } 469 }
471 return mddi->flags & FLAG_HAVE_CAPS; 470 return mddi->flags & FLAG_HAVE_CAPS;
472} 471}
diff --git a/drivers/video/msm/mdp.c b/drivers/video/msm/mdp.c
index 3c28db03ad39..c3636d55a3c5 100644
--- a/drivers/video/msm/mdp.c
+++ b/drivers/video/msm/mdp.c
@@ -90,7 +90,7 @@ static int locked_disable_mdp_irq(struct mdp_info *mdp, uint32_t mask)
90 mdp_irq_mask &= ~(mask); 90 mdp_irq_mask &= ~(mask);
91 /* if no one is waiting on the interrupt, disable it */ 91 /* if no one is waiting on the interrupt, disable it */
92 if (!mdp_irq_mask) { 92 if (!mdp_irq_mask) {
93 disable_irq(mdp->irq); 93 disable_irq_nosync(mdp->irq);
94 if (clk) 94 if (clk)
95 clk_disable(clk); 95 clk_disable(clk);
96 } 96 }
@@ -482,6 +482,7 @@ int mdp_probe(struct platform_device *pdev)
482 /* register mdp device */ 482 /* register mdp device */
483 mdp->mdp_dev.dev.parent = &pdev->dev; 483 mdp->mdp_dev.dev.parent = &pdev->dev;
484 mdp->mdp_dev.dev.class = mdp_class; 484 mdp->mdp_dev.dev.class = mdp_class;
485 dev_set_name(&mdp->mdp_dev.dev, "mdp%d", pdev->id);
485 486
486 /* if you can remove the platform device you'd have to implement 487 /* if you can remove the platform device you'd have to implement
487 * this: 488 * this: