drivers/video/msm/mddi.c: Remove multiple KERN_<level> uses
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
This commit is contained in:
parent
d601c795c4
commit
17f52ed735
1 changed files with 2 additions and 3 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)
|
static void mddi_wait_interrupt(struct mddi_info *mddi, uint32_t intmask)
|
||||||
{
|
{
|
||||||
if (mddi_wait_interrupt_timeout(mddi, intmask, HZ/10) == 0)
|
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",
|
"waiting for %x, INT = %x, STAT = %x gotint = %x\n",
|
||||||
current->pid, intmask, mddi_readl(INT), mddi_readl(STAT),
|
current->pid, intmask, mddi_readl(INT), mddi_readl(STAT),
|
||||||
mddi->got_int);
|
mddi->got_int);
|
||||||
|
@ -465,8 +465,7 @@ static int __init mddi_get_client_caps(struct mddi_info *mddi)
|
||||||
|
|
||||||
if (mddi->flags & FLAG_HAVE_CAPS)
|
if (mddi->flags & FLAG_HAVE_CAPS)
|
||||||
break;
|
break;
|
||||||
printk(KERN_INFO KERN_ERR "mddi_init, timeout waiting for "
|
printk(KERN_INFO "mddi_init, timeout waiting for caps\n");
|
||||||
"caps\n");
|
|
||||||
}
|
}
|
||||||
return mddi->flags & FLAG_HAVE_CAPS;
|
return mddi->flags & FLAG_HAVE_CAPS;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue