mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 01:49:46 +00:00
staging: bcm2835-codec: Fix up for 6.8 - use ignore_cap_streaming
Drops downstream patch to v4l2_mem2mem, and uses the new mainline flag to achieve the same functionality Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
This commit is contained in:
committed by
Naushir Patuck
parent
4c35b3a2ad
commit
d8467deca1
@@ -3523,6 +3523,8 @@ static int bcm2835_codec_open(struct file *file)
|
||||
v4l2_m2m_set_src_buffered(ctx->fh.m2m_ctx, true);
|
||||
v4l2_m2m_set_dst_buffered(ctx->fh.m2m_ctx, true);
|
||||
|
||||
ctx->fh.m2m_ctx->ignore_cap_streaming = true;
|
||||
|
||||
v4l2_fh_add(&ctx->fh);
|
||||
atomic_inc(&dev->num_inst);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user