]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: mgb4: Fix inconsistent input/output alignment in loopback mode
authorMartin Tůma <martin.tuma@digiteqautomotive.com>
Fri, 1 Nov 2024 14:59:11 +0000 (15:59 +0100)
committerHans Verkuil <hverkuil@xs4all.nl>
Fri, 8 Nov 2024 12:38:09 +0000 (13:38 +0100)
commit54a7ca1bf38f172e7b80325f54a1b9722e8069b9
tree12f8f58fe42d1575280748a04c00d77182569a34
parentb855f02427e995cbc905e134cc3a7f4e503c0455
media: mgb4: Fix inconsistent input/output alignment in loopback mode

Fixes broken output due to different input/output alignment in loopback
mode when the (last) input device is closed. Instead of on device close,
do the alignment synchronisation when starting the stream (and clear
it when streaming is stopped).

Signed-off-by: Martin Tůma <martin.tuma@digiteqautomotive.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/pci/mgb4/mgb4_vin.c