[media] cx23885/saa7134: assign q->dev to the PCI device
authorHans Verkuil <hverkuil@xs4all.nl>
Sun, 18 Sep 2016 14:24:50 +0000 (11:24 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 19 Sep 2016 15:38:05 +0000 (12:38 -0300)
commitd8feef9bd447381952a33e6284241006f394c080
tree06ecb5198be553c6459bf1e1032ba2f33a139b46
parent7892a1f64a447b6f65fe2888688883b7c26d81d3
[media] cx23885/saa7134: assign q->dev to the PCI device

Fix a regression caused by commit 2bc46b3ad3c1 ("[media] media/pci:
convert drivers to use the new vb2_queue dev field").

Three places where q->dev should be set were missed, causing
a WARN.

Fixes: 2bc46b3ad3c1 ("[media] media/pci: convert drivers to use the new vb2_queue dev field").
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reported-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/pci/cx23885/cx23885-417.c
drivers/media/pci/saa7134/saa7134-dvb.c
drivers/media/pci/saa7134/saa7134-empress.c