mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
[media] cx23885: convert call clients into subdevices
Signed-off-by: Steven Toth <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
d5492fb9ed
commit
80f1e086e6
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue