1
0
mirror of https://github.com/DigitalDevices/dddvb.git synced 2023-10-10 13:37:43 +02:00

include link and port number in debug message

This commit is contained in:
internal 2022-12-13 13:31:02 +01:00
parent c78905d4a2
commit 1488f326d0

View File

@ -626,12 +626,14 @@ static void ddb_input_stop_unlocked(struct ddb_input *input)
input->dma->running = 0; input->dma->running = 0;
if (input->dma->stall_count) if (input->dma->stall_count)
dev_warn(input->port->dev->dev, dev_warn(input->port->dev->dev,
"DMA stalled %u times!\n", "l%ui%u: DMA stalled %u times!\n",
input->port->lnr, input->nr,
input->dma->stall_count); input->dma->stall_count);
update_loss(input->dma); update_loss(input->dma);
if (input->dma->packet_loss > 1) if (input->dma->packet_loss > 1)
dev_warn(input->port->dev->dev, dev_warn(input->port->dev->dev,
"%u packets lost due to low DMA performance!\n", "l%ui%u: %u packets lost due to low DMA performance!\n",
input->port->lnr, input->nr,
input->dma->packet_loss); input->dma->packet_loss);
} }
} }