Skip to content

Commit 3c9eb7e

Browse files
P33Mpopcornmix
authored andcommitted
drivers: dwc_otg: reduce loglevel for probe messages
Warning on normal behaviour isn't sensible and is spammy. Demote to info. Signed-off-by: Jonathan Bell <[email protected]>
1 parent 71b484d commit 3c9eb7e

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

drivers/usb/host/dwc_otg/dwc_otg_hcd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1065,7 +1065,7 @@ int dwc_otg_hcd_init(dwc_otg_hcd_t * hcd, dwc_otg_core_if_t * core_if)
10651065
* moderately readable array casts.
10661066
*/
10671067
hcd->fiq_dmab = DWC_DMA_ALLOC(dev, (sizeof(struct fiq_dma_channel) * num_channels), &hcd->fiq_state->dma_base);
1068-
DWC_WARN("FIQ DMA bounce buffers: virt = %px dma = %pad len=%zu",
1068+
DWC_INFO("FIQ DMA bounce buffers: virt = %px dma = %pad len=%zu",
10691069
hcd->fiq_dmab, &hcd->fiq_state->dma_base,
10701070
sizeof(struct fiq_dma_channel) * num_channels);
10711071

drivers/usb/host/dwc_otg/dwc_otg_hcd_linux.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -454,8 +454,8 @@ static void hcd_init_fiq(void *cookie)
454454
DWC_ERROR("Can't claim FIQ");
455455
BUG();
456456
}
457-
DWC_WARN("FIQ on core %d", smp_processor_id());
458-
DWC_WARN("FIQ ASM at %px length %d", &_dwc_otg_fiq_stub, (int)(&_dwc_otg_fiq_stub_end - &_dwc_otg_fiq_stub));
457+
DWC_INFO("FIQ on core %d", smp_processor_id());
458+
DWC_INFO("FIQ ASM at %px length %d", &_dwc_otg_fiq_stub, (int)(&_dwc_otg_fiq_stub_end - &_dwc_otg_fiq_stub));
459459
set_fiq_handler((void *) &_dwc_otg_fiq_stub, &_dwc_otg_fiq_stub_end - &_dwc_otg_fiq_stub);
460460
memset(&regs,0,sizeof(regs));
461461

@@ -482,7 +482,7 @@ static void hcd_init_fiq(void *cookie)
482482
otg_dev->os_dep.mphi_base + 0x1f0;
483483
dwc_otg_hcd->fiq_state->mphi_regs.swirq_clr =
484484
otg_dev->os_dep.mphi_base + 0x1f4;
485-
DWC_WARN("Fake MPHI regs_base at %px",
485+
DWC_INFO("Fake MPHI regs_base at %px",
486486
dwc_otg_hcd->fiq_state->mphi_regs.base);
487487
} else {
488488
dwc_otg_hcd->fiq_state->mphi_regs.ctrl =
@@ -493,16 +493,16 @@ static void hcd_init_fiq(void *cookie)
493493
= otg_dev->os_dep.mphi_base + 0x2c;
494494
dwc_otg_hcd->fiq_state->mphi_regs.intstat
495495
= otg_dev->os_dep.mphi_base + 0x50;
496-
DWC_WARN("MPHI regs_base at %px",
496+
DWC_INFO("MPHI regs_base at %px",
497497
dwc_otg_hcd->fiq_state->mphi_regs.base);
498498

499499
//Enable mphi peripheral
500500
writel((1<<31),dwc_otg_hcd->fiq_state->mphi_regs.ctrl);
501501
#ifdef DEBUG
502502
if (readl(dwc_otg_hcd->fiq_state->mphi_regs.ctrl) & 0x80000000)
503-
DWC_WARN("MPHI periph has been enabled");
503+
DWC_INFO("MPHI periph has been enabled");
504504
else
505-
DWC_WARN("MPHI periph has NOT been enabled");
505+
DWC_INFO("MPHI periph has NOT been enabled");
506506
#endif
507507
}
508508
// Enable FIQ interrupt from USB peripheral

0 commit comments

Comments
 (0)