Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 176823
b: refs/heads/master
c: 909d15a
h: refs/heads/master
i:
  176821: 245f596
  176819: c912c70
  176815: 4aa22b1
v: v3
  • Loading branch information
Julia Lawall authored and Mauro Carvalho Chehab committed Dec 16, 2009
1 parent e713da3 commit 4347cf2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ddb0b34f1345e1fec60f168bd99c487699f65212
refs/heads/master: 909d15a70d6a269ba599c539c55a574482355ff1
4 changes: 2 additions & 2 deletions trunk/drivers/media/radio/radio-tea5764.c
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ static int vidioc_g_tuner(struct file *file, void *priv,
if (v->index > 0)
return -EINVAL;

memset(v, 0, sizeof(v));
memset(v, 0, sizeof(*v));
strcpy(v->name, "FM");
v->type = V4L2_TUNER_RADIO;
tea5764_i2c_read(radio);
Expand Down Expand Up @@ -373,7 +373,7 @@ static int vidioc_g_frequency(struct file *file, void *priv,
if (f->tuner != 0)
return -EINVAL;
tea5764_i2c_read(radio);
memset(f, 0, sizeof(f));
memset(f, 0, sizeof(*f));
f->type = V4L2_TUNER_RADIO;
if (r->tnctrl & TEA5764_TNCTRL_PUPD0)
f->frequency = (tea5764_get_freq(radio) * 2) / 125;
Expand Down

0 comments on commit 4347cf2

Please sign in to comment.