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

always use unaligned processing if detected once

This commit is contained in:
none 2021-03-01 12:58:21 +01:00
parent 177e6b0fd6
commit 9028e75f63

View File

@ -2307,7 +2307,7 @@ static void input_write_dvb(struct ddb_input *input,
dma2->vbuf[dma->cbuf],
dma2->size);
} else {
if (dma2->vbuf[dma->cbuf][0] != 0x47) {
if (dma2->unaligned || (dma2->vbuf[dma->cbuf][0] != 0x47)) {
if (!dma2->unaligned) {
dma2->unaligned++;
dev_warn(dev->dev, "Input %u dma buffer unaligned, "