media: au0828 - convert to use videobuf2
PATCH v6 1/1 media: au0828 - convert to use videobuf2
Convert au0828 to use videobuf2. Tested with NTSC. Tested video and vbi devices with xawtv, tvtime, and vlc. Ran v4l2-compliance to ensure there are no failures.
Video compliance test results summary:
Total: 75, Succeeded: 75, Failed: 0, Warnings: 18
Vbi compliance test results summary:
Total: 75, Succeeded: 75, Failed: 0, Warnings: 0
---
Changes sunce patch v5:
- Fixed lock warning in au0828_stop_streaming() caused by calling v4l2_device_call_all(&dev->v4l2_dev, 0, video, s_stream, 0); while holding slock. Removed call to audio_setup which causes audio glitch.
- Fixed au0828_analog_register() error paths to release vb2 queues.
Changes since patch v4:
- Updated commit log with correct compliance test results.
Changes since patch v3:
- Removed unnecessary ret = 0 in au0828_v4l2_open()
- Rest of the patches in the v3 series are good. No need to resend them.
drivers/media/usb/au0828/Kconfig | 2 +- drivers/media/usb/au0828/au0828-vbi.c | 122 ++-- drivers/media/usb/au0828/au0828-video.c | 963 ++++++++++++-------------------- drivers/media/usb/au0828/au0828.h | 61 +- 4 files changed, 442 insertions(+), 706 deletions(-)
drivers/media/usb/au0828/Kconfig +1 -1
@@ -4,7 +4,7 @@ config VIDEO_AU0828 depends on I2C && INPUT && DVB_CORE && USB select I2C_ALGOBIT select VIDEO_TVEEPROM - select VIDEOBUF_VMALLOC + select VIDEOBUF2_VMALLOC select DVB_AU8522_DTV if MEDIA_SUBDRV_AUTOSELECT select MEDIA_TUNER_XC5000 if MEDIA_SUBDRV_AUTOSELECT select MEDIA_TUNER_MXL5007T if MEDIA_SUBDRV_AUTOSELECT
drivers/media/usb/au0828/au0828-vbi.c +39 -83
150 lines not on this page · raw message
drivers/media/usb/au0828/au0828-video.c +370 -593
1,442 lines not on this page · raw message
drivers/media/usb/au0828/au0828.h +32 -29
124 lines not on this page · raw message
Signature · 1 line
2.1.0
Quoted 5 lines · Shuah Khan
Convert au0828 to use videobuf2. Tested with NTSC. Tested video and vbi devices with xawtv, tvtime, and vlc. Ran v4l2-compliance to ensure there are no failures.
Quoted 7 lines
Video compliance test results summary:
Total: 75, Succeeded: 75, Failed: 0, Warnings: 18Vbi compliance test results summary:
Total: 75, Succeeded: 75, Failed: 0, Warnings: 0Signed-off-by Shuah Khan <[email protected]>
Regards,
--Prabhakar Lad