diff options
author | Marc Zyngier <maz@kernel.org> | 2023-08-06 21:28:52 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2023-08-27 10:32:57 +0100 |
commit | c824aa5ddd5b79b10f0d99b441dae9c89cee9730 (patch) | |
tree | 0e7d1bc45645956bf708eb4e38dece3f356da8c8 | |
parent | 4a3295dbc82581f33afa9d79065709b43949f163 (diff) | |
download | cs-sw-c824aa5ddd5b79b10f0d99b441dae9c89cee9730.tar.gz |
Turn some prints into debug output
Signed-off-by: Marc Zyngier <maz@kernel.org>
-rw-r--r-- | vdmtool.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -83,7 +83,7 @@ void debug_poke(struct vdm_context *cxt) int16_t hdr = PD_HEADER(PD_DATA_VENDOR_DEF, 1, 1, 0, 1, PD_REV20, 0); const uint32_t x = 0; - cprintf(cxt, "Empty debug message\n"); + dprintf(cxt, "Empty debug message\n"); fusb302_tcpm_transmit(PORT(cxt), TCPC_TX_SOP_DEBUG_PRIME_PRIME, hdr, &x); } @@ -380,7 +380,7 @@ static void handle_irq(struct vdm_context *cxt) int16_t irq, irqa, irqb; fusb302_get_irq(PORT(cxt), &irq, &irqa, &irqb); - cprintf(cxt, "IRQ=%x %x %x\n", irq, irqa, irqb); + dprintf(cxt, "IRQ=%x %x %x\n", irq, irqa, irqb); if (irq & TCPC_REG_INTERRUPT_VBUSOK) { cprintf(cxt, "IRQ: VBUSOK (VBUS="); if (fusb302_tcpm_get_vbus_level(PORT(cxt))) { |