summaryrefslogtreecommitdiff
path: root/drivers/media/pci/saa7134/saa7134-ts.c
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2016-02-15 14:37:15 (GMT)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-08 17:37:17 (GMT)
commit2bc46b3ad3c15165f91459b07ff8682478683194 (patch)
tree01a28e76142c4dde286157e7253fbd89dddc300b /drivers/media/pci/saa7134/saa7134-ts.c
parent0e2f511894ceca86d2cc006a363a1be0b17ca359 (diff)
downloadlinux-2bc46b3ad3c15165f91459b07ff8682478683194.tar.xz
[media] media/pci: convert drivers to use the new vb2_queue dev field
Stop using alloc_ctx and just fill in the device pointer. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Cc: Federico Vaga <federico.vaga@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/pci/saa7134/saa7134-ts.c')
-rw-r--r--drivers/media/pci/saa7134/saa7134-ts.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/pci/saa7134/saa7134-ts.c b/drivers/media/pci/saa7134/saa7134-ts.c
index 0584a2a..8c68a93 100644
--- a/drivers/media/pci/saa7134/saa7134-ts.c
+++ b/drivers/media/pci/saa7134/saa7134-ts.c
@@ -131,7 +131,6 @@ int saa7134_ts_queue_setup(struct vb2_queue *q,
*nbuffers = 3;
*nplanes = 1;
sizes[0] = size;
- alloc_ctxs[0] = dev->alloc_ctx;
return 0;
}
EXPORT_SYMBOL_GPL(saa7134_ts_queue_setup);