vp27smpx.c (cf9ce948f47640797bd19980e1d99c6d17d0bdc3) vp27smpx.c (2f73c7c582a685b3198b974cd6d964d0338f8ab5)
1/*
2 * vp27smpx - driver version 0.0.1
3 *
4 * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl>
5 *
6 * Based on a tvaudio patch from Takahiro Adachi <tadachi@tadachi-net.com>
7 * and Kazuhiko Kawakami <kazz-0@mail.goo.ne.jp>
8 *

--- 76 unchanged lines hidden (view full) ---

85static int vp27smpx_s_std(struct v4l2_subdev *sd, v4l2_std_id norm)
86{
87 struct vp27smpx_state *state = to_state(sd);
88
89 state->radio = 0;
90 return 0;
91}
92
1/*
2 * vp27smpx - driver version 0.0.1
3 *
4 * Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl>
5 *
6 * Based on a tvaudio patch from Takahiro Adachi <tadachi@tadachi-net.com>
7 * and Kazuhiko Kawakami <kazz-0@mail.goo.ne.jp>
8 *

--- 76 unchanged lines hidden (view full) ---

85static int vp27smpx_s_std(struct v4l2_subdev *sd, v4l2_std_id norm)
86{
87 struct vp27smpx_state *state = to_state(sd);
88
89 state->radio = 0;
90 return 0;
91}
92
93static int vp27smpx_s_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt)
93static int vp27smpx_s_tuner(struct v4l2_subdev *sd, const struct v4l2_tuner *vt)
94{
95 struct vp27smpx_state *state = to_state(sd);
96
97 if (!state->radio)
98 vp27smpx_set_audmode(sd, vt->audmode);
99 return 0;
100}
101

--- 110 unchanged lines hidden ---
94{
95 struct vp27smpx_state *state = to_state(sd);
96
97 if (!state->radio)
98 vp27smpx_set_audmode(sd, vt->audmode);
99 return 0;
100}
101

--- 110 unchanged lines hidden ---