tef6862.c (b530a447bb588fdf43fdf4eb909e4ee1921d47ac) | tef6862.c (2f73c7c582a685b3198b974cd6d964d0338f8ab5) |
---|---|
1/* 2 * tef6862.c Philips TEF6862 Car Radio Enhanced Selectivity Tuner 3 * Copyright (c) 2009 Intel Corporation 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License version 2 as 7 * published by the Free Software Foundation. 8 * --- 82 unchanged lines hidden (view full) --- 91 v->rxsubchans = V4L2_TUNER_SUB_MONO; 92 v->capability = V4L2_TUNER_CAP_LOW; 93 v->audmode = V4L2_TUNER_MODE_STEREO; 94 v->signal = tef6862_sigstr(v4l2_get_subdevdata(sd)); 95 96 return 0; 97} 98 | 1/* 2 * tef6862.c Philips TEF6862 Car Radio Enhanced Selectivity Tuner 3 * Copyright (c) 2009 Intel Corporation 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License version 2 as 7 * published by the Free Software Foundation. 8 * --- 82 unchanged lines hidden (view full) --- 91 v->rxsubchans = V4L2_TUNER_SUB_MONO; 92 v->capability = V4L2_TUNER_CAP_LOW; 93 v->audmode = V4L2_TUNER_MODE_STEREO; 94 v->signal = tef6862_sigstr(v4l2_get_subdevdata(sd)); 95 96 return 0; 97} 98 |
99static int tef6862_s_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *v) | 99static int tef6862_s_tuner(struct v4l2_subdev *sd, const struct v4l2_tuner *v) |
100{ 101 return v->index ? -EINVAL : 0; 102} 103 104static int tef6862_s_frequency(struct v4l2_subdev *sd, const struct v4l2_frequency *f) 105{ 106 struct tef6862_state *state = to_state(sd); 107 struct i2c_client *client = v4l2_get_subdevdata(sd); --- 115 unchanged lines hidden --- | 100{ 101 return v->index ? -EINVAL : 0; 102} 103 104static int tef6862_s_frequency(struct v4l2_subdev *sd, const struct v4l2_frequency *f) 105{ 106 struct tef6862_state *state = to_state(sd); 107 struct i2c_client *client = v4l2_get_subdevdata(sd); --- 115 unchanged lines hidden --- |