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:
parent
177e6b0fd6
commit
9028e75f63
@ -2307,7 +2307,7 @@ static void input_write_dvb(struct ddb_input *input,
|
|||||||
dma2->vbuf[dma->cbuf],
|
dma2->vbuf[dma->cbuf],
|
||||||
dma2->size);
|
dma2->size);
|
||||||
} else {
|
} else {
|
||||||
if (dma2->vbuf[dma->cbuf][0] != 0x47) {
|
if (dma2->unaligned || (dma2->vbuf[dma->cbuf][0] != 0x47)) {
|
||||||
if (!dma2->unaligned) {
|
if (!dma2->unaligned) {
|
||||||
dma2->unaligned++;
|
dma2->unaligned++;
|
||||||
dev_warn(dev->dev, "Input %u dma buffer unaligned, "
|
dev_warn(dev->dev, "Input %u dma buffer unaligned, "
|
||||||
|
Loading…
Reference in New Issue
Block a user