saa6588.c (cf9ce948f47640797bd19980e1d99c6d17d0bdc3) saa6588.c (2f73c7c582a685b3198b974cd6d964d0338f8ab5)
1/*
2 Driver for SAA6588 RDS decoder
3
4 (c) 2005 Hans J. Koch
5
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or

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

430 struct saa6588 *s = to_saa6588(sd);
431
432 vt->capability |= V4L2_TUNER_CAP_RDS | V4L2_TUNER_CAP_RDS_BLOCK_IO;
433 if (s->sync)
434 vt->rxsubchans |= V4L2_TUNER_SUB_RDS;
435 return 0;
436}
437
1/*
2 Driver for SAA6588 RDS decoder
3
4 (c) 2005 Hans J. Koch
5
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or

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

430 struct saa6588 *s = to_saa6588(sd);
431
432 vt->capability |= V4L2_TUNER_CAP_RDS | V4L2_TUNER_CAP_RDS_BLOCK_IO;
433 if (s->sync)
434 vt->rxsubchans |= V4L2_TUNER_SUB_RDS;
435 return 0;
436}
437
438static int saa6588_s_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt)
438static int saa6588_s_tuner(struct v4l2_subdev *sd, const struct v4l2_tuner *vt)
439{
440 struct saa6588 *s = to_saa6588(sd);
441
442 saa6588_configure(s);
443 return 0;
444}
445
446static int saa6588_g_chip_ident(struct v4l2_subdev *sd, struct v4l2_dbg_chip_ident *chip)

--- 96 unchanged lines hidden ---
439{
440 struct saa6588 *s = to_saa6588(sd);
441
442 saa6588_configure(s);
443 return 0;
444}
445
446static int saa6588_g_chip_ident(struct v4l2_subdev *sd, struct v4l2_dbg_chip_ident *chip)

--- 96 unchanged lines hidden ---