28 Jul, 2011

2 commits

  • Change locking to allow tea575x-radio device to be opened multiple times.

    Signed-off-by: Ondrej Zary
    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Ondrej Zary
     
  • Convert tea575x-tuner to use the new V4L2 control framework. Also add
    ext_init() callback that can be used by a card driver for additional
    initialization right before registering the video device (for SF16-FMR2).

    Also embed struct video_device to struct snd_tea575x to simplify the code.

    Signed-off-by: Ondrej Zary
    Acked-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Ondrej Zary
     

14 May, 2011

3 commits


10 May, 2011

1 commit

  • Implement generic read/write functions to access TEA575x tuners. They're now
    implemented 4 times (once in es1968 and 3 times in fm801).
    This also allows mute to work on all cards.
    Also improve tuner detection/initialization.

    Signed-off-by: Ondrej Zary
    Signed-off-by: Takashi Iwai

    Ondrej Zary
     

21 Mar, 2011

2 commits

  • Remove unused dev_nr from struct tea575x_tuner.

    Signed-off-by: Ondrej Zary
    Signed-off-by: Takashi Iwai

    Ondrej Zary
     
  • Improve tea575x-tuner with various good things from radio-maestro:
    - extend frequency range to 50-150MHz
    - fix querycap(): card name, CAP_RADIO
    - improve g_tuner(): CAP_STEREO, stereo and tuned indication
    - improve g_frequency(): tuner index checking and reading frequency from HW
    - improve s_frequency(): tuner index and type checking

    Signed-off-by: Ondrej Zary
    Signed-off-by: Takashi Iwai

    Ondrej Zary
     

30 Mar, 2009

1 commit


03 Jan, 2009

1 commit

  • Introduce a struct v4l2_file_operations for v4l2 drivers.

    Remove the unnecessary inode argument.

    Move compat32 handling (and llseek) into the v4l2-dev core: this is now
    handled in the v4l2 core and no longer in the drivers themselves.

    Note that this changeset reverts an earlier patch that changed the return
    type of__video_ioctl2 from int to long. This change will be reinstated
    later in a much improved version.

    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     

12 Oct, 2008

1 commit


01 Feb, 2008

1 commit


16 Oct, 2007

1 commit


25 Jun, 2006

1 commit

  • In file included from sound/i2c/other/tea575x-tuner.c:30:
    include/sound/tea575x-tuner.h:36: error: field 'vd' has incomplete type
    include/sound/tea575x-tuner.h:37: error: field 'fops' has incomplete type
    sound/i2c/other/tea575x-tuner.c:89: warning: 'struct inode' declared inside parameter list
    sound/i2c/other/tea575x-tuner.c:89: warning: its scope is only this definition or declaration, which is probably not what you want
    sound/i2c/other/tea575x-tuner.c: In function 'snd_tea575x_ioctl':
    sound/i2c/other/tea575x-tuner.c:91: warning: implicit declaration of function 'video_devdata'
    sound/i2c/other/tea575x-tuner.c:91: warning: initialization makes pointer from integer without a cast
    sound/i2c/other/tea575x-tuner.c:92: warning: implicit declaration of function 'video_get_drvdata'
    sound/i2c/other/tea575x-tuner.c:92: warning: initialization makes pointer from integer without a cast
    sound/i2c/other/tea575x-tuner.c:96: warning: implicit declaration of function '_IOR'
    sound/i2c/other/tea575x-tuner.c:96: error: syntax error before 'struct'
    sound/i2c/other/tea575x-tuner.c:99: error: 'v' undeclared (first use in this function)
    sound/i2c/other/tea575x-tuner.c:99: error: (Each undeclared identifier is reported only once
    sound/i2c/other/tea575x-tuner.c:99: error: for each function it appears in.)
    sound/i2c/other/tea575x-tuner.c:108: warning: implicit declaration of function 'copy_to_user'
    sound/i2c/other/tea575x-tuner.c:112: warning: implicit declaration of function '_IOWR'
    sound/i2c/other/tea575x-tuner.c:112: error: syntax error before 'struct'
    sound/i2c/other/tea575x-tuner.c:115: warning: implicit declaration of function 'copy_from_user'
    sound/i2c/other/tea575x-tuner.c: At top level:
    sound/i2c/other/tea575x-tuner.c:129: error: syntax error before 'case'
    sound/i2c/other/tea575x-tuner.c:146: warning: type defaults to 'int' in declaration of 'snd_tea575x_set_freq'
    sound/i2c/other/tea575x-tuner.c:146: warning: parameter names (without types) in function declaration
    sound/i2c/other/tea575x-tuner.c:146: error: conflicting types for 'snd_tea575x_set_freq'
    sound/i2c/other/tea575x-tuner.c:62: error: previous definition of 'snd_tea575x_set_freq' was here
    sound/i2c/other/tea575x-tuner.c:146: warning: data definition has no type or storage class
    sound/i2c/other/tea575x-tuner.c:147: error: syntax error before 'return'
    sound/i2c/other/tea575x-tuner.c:151: error: syntax error before '&' token
    sound/i2c/other/tea575x-tuner.c:152: error: syntax error before '.' token
    sound/i2c/other/tea575x-tuner.c:152: warning: type defaults to 'int' in declaration of 'strcpy'
    sound/i2c/other/tea575x-tuner.c:152: warning: function declaration isn't a prototype
    sound/i2c/other/tea575x-tuner.c:152: error: conflicting types for 'strcpy'
    sound/i2c/other/tea575x-tuner.c:152: warning: data definition has no type or storage class
    sound/i2c/other/tea575x-tuner.c: In function 'snd_tea575x_init':
    sound/i2c/other/tea575x-tuner.c:194: warning: implicit declaration of function 'video_set_drvdata'
    sound/i2c/other/tea575x-tuner.c:197: error: 'video_exclusive_open' undeclared (first use in this function)
    sound/i2c/other/tea575x-tuner.c:198: error: 'video_exclusive_release' undeclared (first use in this function)
    sound/i2c/other/tea575x-tuner.c:200: warning: implicit declaration of function 'video_register_device'
    sound/i2c/other/tea575x-tuner.c:200: error: 'VFL_TYPE_RADIO' undeclared (first use in this function)
    sound/i2c/other/tea575x-tuner.c: In function 'snd_tea575x_exit':
    sound/i2c/other/tea575x-tuner.c:215: warning: implicit declaration of function 'video_unregister_device'
    distcc[7333] ERROR: compile sound/i2c/other/tea575x-tuner.c on x/32 failed
    make[1]: *** [sound/i2c/other/tea575x-tuner.o] Error 1

    Signed-off-by: Andrew Morton
    Signed-off-by: Mauro Carvalho Chehab

    Andrew Morton
     

03 Jan, 2006

1 commit


10 Sep, 2005

1 commit


17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds