Commit 3ff4b573 authored by Rasmus Villemoes's avatar Rasmus Villemoes Committed by Felipe Balbi

usb: musb: convert printk to pr_*

This file already uses pr_debug in a few places; this converts the
remaining printks.
Signed-off-by: default avatarRasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 29539019
...@@ -1360,8 +1360,7 @@ static int ep_config_from_table(struct musb *musb) ...@@ -1360,8 +1360,7 @@ static int ep_config_from_table(struct musb *musb)
break; break;
} }
printk(KERN_DEBUG "%s: setup fifo_mode %d\n", pr_debug("%s: setup fifo_mode %d\n", musb_driver_name, fifo_mode);
musb_driver_name, fifo_mode);
done: done:
...@@ -1390,7 +1389,7 @@ static int ep_config_from_table(struct musb *musb) ...@@ -1390,7 +1389,7 @@ static int ep_config_from_table(struct musb *musb)
musb->nr_endpoints = max(epn, musb->nr_endpoints); musb->nr_endpoints = max(epn, musb->nr_endpoints);
} }
printk(KERN_DEBUG "%s: %d/%d max ep, %d/%d memory\n", pr_debug("%s: %d/%d max ep, %d/%d memory\n",
musb_driver_name, musb_driver_name,
n + 1, musb->config->num_eps * 2 - 1, n + 1, musb->config->num_eps * 2 - 1,
offset, (1 << (musb->config->ram_bits + 2))); offset, (1 << (musb->config->ram_bits + 2)));
...@@ -1491,8 +1490,7 @@ static int musb_core_init(u16 musb_type, struct musb *musb) ...@@ -1491,8 +1490,7 @@ static int musb_core_init(u16 musb_type, struct musb *musb)
if (reg & MUSB_CONFIGDATA_SOFTCONE) if (reg & MUSB_CONFIGDATA_SOFTCONE)
strcat(aInfo, ", SoftConn"); strcat(aInfo, ", SoftConn");
printk(KERN_DEBUG "%s: ConfigData=0x%02x (%s)\n", pr_debug("%s: ConfigData=0x%02x (%s)\n", musb_driver_name, reg, aInfo);
musb_driver_name, reg, aInfo);
aDate[0] = 0; aDate[0] = 0;
if (MUSB_CONTROLLER_MHDRC == musb_type) { if (MUSB_CONTROLLER_MHDRC == musb_type) {
...@@ -1502,8 +1500,7 @@ static int musb_core_init(u16 musb_type, struct musb *musb) ...@@ -1502,8 +1500,7 @@ static int musb_core_init(u16 musb_type, struct musb *musb)
musb->is_multipoint = 0; musb->is_multipoint = 0;
type = ""; type = "";
#ifndef CONFIG_USB_OTG_BLACKLIST_HUB #ifndef CONFIG_USB_OTG_BLACKLIST_HUB
printk(KERN_ERR pr_err("%s: kernel must blacklist external hubs\n",
"%s: kernel must blacklist external hubs\n",
musb_driver_name); musb_driver_name);
#endif #endif
} }
...@@ -1513,7 +1510,7 @@ static int musb_core_init(u16 musb_type, struct musb *musb) ...@@ -1513,7 +1510,7 @@ static int musb_core_init(u16 musb_type, struct musb *musb)
snprintf(aRevision, 32, "%d.%d%s", MUSB_HWVERS_MAJOR(musb->hwvers), snprintf(aRevision, 32, "%d.%d%s", MUSB_HWVERS_MAJOR(musb->hwvers),
MUSB_HWVERS_MINOR(musb->hwvers), MUSB_HWVERS_MINOR(musb->hwvers),
(musb->hwvers & MUSB_HWVERS_RC) ? "RC" : ""); (musb->hwvers & MUSB_HWVERS_RC) ? "RC" : "");
printk(KERN_DEBUG "%s: %sHDRC RTL version %s %s\n", pr_debug("%s: %sHDRC RTL version %s %s\n",
musb_driver_name, type, aRevision, aDate); musb_driver_name, type, aRevision, aDate);
/* configure ep0 */ /* configure ep0 */
......
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