Skip to content

Commit

Permalink
[media] cx23885: convert call clients into subdevices
Browse files Browse the repository at this point in the history
Signed-off-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Steven Toth authored and Mauro Carvalho Chehab committed Oct 14, 2011
1 parent d5492fb commit 80f1e08
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/media/video/cx23885/cx23885-video.c
Original file line number Diff line number Diff line change
Expand Up @@ -1225,6 +1225,7 @@ static int vidioc_g_tuner(struct file *file, void *priv,

strcpy(t->name, "Television");

call_all(dev, tuner, g_tuner, t);
return 0;
}

Expand All @@ -1238,6 +1239,7 @@ static int vidioc_s_tuner(struct file *file, void *priv,
if (0 != t->index)
return -EINVAL;
/* Update the A/V core */
call_all(dev, tuner, s_tuner, t);

return 0;
}
Expand Down

0 comments on commit 80f1e08

Please sign in to comment.