summaryrefslogtreecommitdiffstats
path: root/drivers/staging/media/go7007/go7007-v4l2.c
diff options
context:
space:
mode:
authorHans Verkuil2013-03-09 17:14:32 +0100
committerMauro Carvalho Chehab2013-03-24 16:11:35 +0100
commite4d2a6162d2a0a27be16b75da36f6bba64af63bc (patch)
tree356289a785e8aaa2919eae8b046d4504b0c7bc41 /drivers/staging/media/go7007/go7007-v4l2.c
parent[media] go7007: fix i2c_xfer return codes (diff)
downloadkernel-qcow2-linux-e4d2a6162d2a0a27be16b75da36f6bba64af63bc.tar.gz
kernel-qcow2-linux-e4d2a6162d2a0a27be16b75da36f6bba64af63bc.tar.xz
kernel-qcow2-linux-e4d2a6162d2a0a27be16b75da36f6bba64af63bc.zip
[media] tuner: add Sony BTF tuners
This adds support for three Sony BTF tuners: TUNER_SONY_BTF_PG472Z: PAL+SECAM TUNER_SONY_BTF_PK467Z: NTSC-M-JP TUNER_SONY_BTF_PB463Z: NTSC-M These come from the go7007 staging driver where they were implemented in the wis-sony-tuner i2c driver. Adding support for these tuners to tuner-types.c is the first step towards removing the wis-sony-tuner driver. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/staging/media/go7007/go7007-v4l2.c')
-rw-r--r--drivers/staging/media/go7007/go7007-v4l2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/media/go7007/go7007-v4l2.c b/drivers/staging/media/go7007/go7007-v4l2.c
index 29fe94da5f71..4ad383ad8758 100644
--- a/drivers/staging/media/go7007/go7007-v4l2.c
+++ b/drivers/staging/media/go7007/go7007-v4l2.c
@@ -1238,6 +1238,7 @@ static int vidioc_g_tuner(struct file *file, void *priv,
if (!go->i2c_adapter_online)
return -EIO;
+ strlcpy(t->name, "Tuner", sizeof(t->name));
return call_all(&go->v4l2_dev, tuner, g_tuner, t);
}