summaryrefslogtreecommitdiff
path: root/drivers/media/pci/saa7134/saa7134-core.c
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2014-04-17 05:00:39 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-05-13 13:28:13 -0300
commit9e534f8478477bb9f5a12ced9e24f979c64976e5 (patch)
treed4ce0bcaf73333cde11e248ad8bf15e941e62406 /drivers/media/pci/saa7134/saa7134-core.c
parent01c3a846c5f8fc9839426a894c6a4fb3da871a13 (diff)
downloadlwn-9e534f8478477bb9f5a12ced9e24f979c64976e5.tar.gz
lwn-9e534f8478477bb9f5a12ced9e24f979c64976e5.zip
[media] saa7134: remove fmt from saa7134_buf
This is already available from saa7134_dev. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/pci/saa7134/saa7134-core.c')
-rw-r--r--drivers/media/pci/saa7134/saa7134-core.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/pci/saa7134/saa7134-core.c b/drivers/media/pci/saa7134/saa7134-core.c
index 2495a9d8cb67..f6cfbb450613 100644
--- a/drivers/media/pci/saa7134/saa7134-core.c
+++ b/drivers/media/pci/saa7134/saa7134-core.c
@@ -392,8 +392,7 @@ int saa7134_set_dmabits(struct saa7134_dev *dev)
}
/* video capture -- dma 1+2 (planar modes) */
- if (dev->video_q.curr &&
- dev->video_q.curr->fmt->planar) {
+ if (dev->video_q.curr && dev->fmt->planar) {
ctrl |= SAA7134_MAIN_CTRL_TE4 |
SAA7134_MAIN_CTRL_TE5;
}