summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa7164/saa7164-bus.c
diff options
context:
space:
mode:
authorSteven Toth <stoth@kernellabs.com>2010-07-31 16:51:23 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-21 07:55:18 -0200
commit2e732d64416b243883f753e4a00960c3f3709317 (patch)
tree045a9a4a8031316eb1ef33f51415aedc91070e6a /drivers/media/video/saa7164/saa7164-bus.c
parent3dee4317b72bcb2d1f1ecee1b2bd8950eec2ff7f (diff)
[media] saa7164: Some whitespace cleanup
Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/saa7164/saa7164-bus.c')
-rw-r--r--drivers/media/video/saa7164/saa7164-bus.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/saa7164/saa7164-bus.c b/drivers/media/video/saa7164/saa7164-bus.c
index 0e76538cabb..78ccf1acdc5 100644
--- a/drivers/media/video/saa7164/saa7164-bus.c
+++ b/drivers/media/video/saa7164/saa7164-bus.c
@@ -142,6 +142,7 @@ int saa7164_bus_set(struct saa7164_dev *dev, tmComResInfo_t* msg, void *buf)
}
dprintk(DBGLVL_BUS, "%s()\n", __func__);
+
saa7164_bus_verify(dev);
msg->size = cpu_to_le16(msg->size);
@@ -309,6 +310,7 @@ int saa7164_bus_get(struct saa7164_dev *dev, tmComResInfo_t* msg, void *buf,
int ret = SAA_ERR_BAD_PARAMETER;
saa7164_bus_verify(dev);
+
if (msg == 0)
return ret;