mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
Merge branches 'msm-fixes' and 'msm-video' of git://codeaurora.org/quic/kernel/dwalker/linux-msm
* 'msm-fixes' of git://codeaurora.org/quic/kernel/dwalker/linux-msm: msm: Kconfig: drop unused config options msm: fix compile failure when no debug uart is selected msm: fix debug-macro.S build failure msm: timer: Decrease shift on timer clocksource arm: mach-msm: fix error handling in msm_iommu_probe() msm: fix Kconfig target board selection msm: fix compile failure on struct membank node member * 'msm-video' of git://codeaurora.org/quic/kernel/dwalker/linux-msm: drivers/video/msm/mddi.c: Remove multiple KERN_<level> uses drivers: msm: video: add dev_set_name call drivers: video: msm: fix hang on disable_irq
This commit is contained in:
commit
c0f62edd40
7 changed files with 36 additions and 21 deletions
|
|
@ -318,7 +318,7 @@ static long mddi_wait_interrupt_timeout(struct mddi_info *mddi,
|
|||
static void mddi_wait_interrupt(struct mddi_info *mddi, uint32_t intmask)
|
||||
{
|
||||
if (mddi_wait_interrupt_timeout(mddi, intmask, HZ/10) == 0)
|
||||
printk(KERN_INFO KERN_ERR "mddi_wait_interrupt %d, timeout "
|
||||
printk(KERN_INFO "mddi_wait_interrupt %d, timeout "
|
||||
"waiting for %x, INT = %x, STAT = %x gotint = %x\n",
|
||||
current->pid, intmask, mddi_readl(INT), mddi_readl(STAT),
|
||||
mddi->got_int);
|
||||
|
|
@ -465,8 +465,7 @@ static int __init mddi_get_client_caps(struct mddi_info *mddi)
|
|||
|
||||
if (mddi->flags & FLAG_HAVE_CAPS)
|
||||
break;
|
||||
printk(KERN_INFO KERN_ERR "mddi_init, timeout waiting for "
|
||||
"caps\n");
|
||||
printk(KERN_INFO "mddi_init, timeout waiting for caps\n");
|
||||
}
|
||||
return mddi->flags & FLAG_HAVE_CAPS;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ static int locked_disable_mdp_irq(struct mdp_info *mdp, uint32_t mask)
|
|||
mdp_irq_mask &= ~(mask);
|
||||
/* if no one is waiting on the interrupt, disable it */
|
||||
if (!mdp_irq_mask) {
|
||||
disable_irq(mdp->irq);
|
||||
disable_irq_nosync(mdp->irq);
|
||||
if (clk)
|
||||
clk_disable(clk);
|
||||
}
|
||||
|
|
@ -482,6 +482,7 @@ int mdp_probe(struct platform_device *pdev)
|
|||
/* register mdp device */
|
||||
mdp->mdp_dev.dev.parent = &pdev->dev;
|
||||
mdp->mdp_dev.dev.class = mdp_class;
|
||||
dev_set_name(&mdp->mdp_dev.dev, "mdp%d", pdev->id);
|
||||
|
||||
/* if you can remove the platform device you'd have to implement
|
||||
* this:
|
||||
|
|
|
|||
Loading…
Reference in a new issue