08 Nov, 2011

1 commit


14 Jul, 2011

1 commit


13 Jul, 2011

1 commit

  • sound/isa/es18xx.c: In function ‘snd_es18xx_playback1_prepare’:
    sound/isa/es18xx.c:501:9: error: implicit declaration of function ‘snd_dma_program’ [-Werror=implicit-function-declaration]
    sound/isa/es18xx.c: In function ‘snd_es18xx_playback_pointer’:
    sound/isa/es18xx.c:818:3: error: implicit declaration of function ‘snd_dma_pointer’ [-Werror=implicit-function-declaration]
    cc1: some warnings being treated as errors
    make[2]: *** [sound/isa/es18xx.o] Error 1
    sound/isa/sscape.c: In function ‘upload_dma_data’:
    sound/isa/sscape.c:481:3: error: implicit declaration of function ‘snd_dma_program’ [-Werror=implicit-function-declaration]
    cc1: some warnings being treated as errors
    make[2]: *** [sound/isa/sscape.o] Error 1
    sound/isa/ad1816a/ad1816a_lib.c: In function ‘snd_ad1816a_playback_prepare’:
    sound/isa/ad1816a/ad1816a_lib.c:244:2: error: implicit declaration of function ‘snd_dma_program’ [-Werror=implicit-function-declaration]
    sound/isa/ad1816a/ad1816a_lib.c: In function ‘snd_ad1816a_playback_pointer’:
    sound/isa/ad1816a/ad1816a_lib.c:302:2: error: implicit declaration of function ‘snd_dma_pointer’ [-Werror=implicit-function-declaration]
    sound/isa/ad1816a/ad1816a_lib.c: In function ‘snd_ad1816a_free’:
    sound/isa/ad1816a/ad1816a_lib.c:544:3: error: implicit declaration of function ‘snd_dma_disable’ [-Werror=implicit-function-declaration]
    cc1: some warnings being treated as errors
    make[3]: *** [sound/isa/ad1816a/ad1816a_lib.o] Error 1
    make[3]: Target `__build' not remade because of errors.
    make[2]: *** [sound/isa/ad1816a] Error 2
    sound/isa/es1688/es1688_lib.c: In function ‘snd_es1688_playback_prepare’:
    sound/isa/es1688/es1688_lib.c:417:2: error: implicit declaration of function ‘snd_dma_program’ [-Werror=implicit-function-declaration]
    sound/isa/es1688/es1688_lib.c: In function ‘snd_es1688_playback_pointer’:
    sound/isa/es1688/es1688_lib.c:509:2: error: implicit declaration of function ‘snd_dma_pointer’ [-Werror=implicit-function-declaration]
    cc1: some warnings being treated as errors
    make[3]: *** [sound/isa/es1688/es1688_lib.o] Error 1
    make[3]: Target `__build' not remade because of errors.
    make[2]: *** [sound/isa/es1688] Error 2
    sound/isa/gus/gus_dma.c: In function ‘snd_gf1_dma_program’:
    sound/isa/gus/gus_dma.c:79:2: error: implicit declaration of function ‘snd_dma_program’ [-Werror=implicit-function-declaration]
    sound/isa/gus/gus_dma.c: In function ‘snd_gf1_dma_done’:
    sound/isa/gus/gus_dma.c:177:3: error: implicit declaration of function ‘snd_dma_disable’ [-Werror=implicit-function-declaration]
    cc1: some warnings being treated as errors
    make[3]: *** [sound/isa/gus/gus_dma.o] Error 1
    sound/isa/gus/gus_pcm.c: In function ‘snd_gf1_pcm_capture_prepare’:
    sound/isa/gus/gus_pcm.c:591:2: error: implicit declaration of function ‘snd_dma_program’ [-Werror=implicit-function-declaration]
    sound/isa/gus/gus_pcm.c: In function ‘snd_gf1_pcm_capture_pointer’:
    sound/isa/gus/gus_pcm.c:619:2: error: implicit declaration of function ‘snd_dma_pointer’ [-Werror=implicit-function-declaration]
    cc1: some warnings being treated as errors
    make[3]: *** [sound/isa/gus/gus_pcm.o] Error 1
    make[3]: Target `__build' not remade because of errors.
    make[2]: *** [sound/isa/gus] Error 2
    sound/isa/sb/sb16_csp.c: In function ‘snd_sb_csp_ioctl’:
    sound/isa/sb/sb16_csp.c:228:227: error: case label does not reduce to an integer constant
    make[3]: *** [sound/isa/sb/sb16_csp.o] Error 1
    sound/isa/sb/sb16_main.c: In function ‘snd_sb16_playback_prepare’:
    sound/isa/sb/sb16_main.c:276:2: error: implicit declaration of function ‘snd_dma_program’ [-Werror=implicit-function-declaration]
    sound/isa/sb/sb16_main.c: In function ‘snd_sb16_playback_pointer’:
    sound/isa/sb/sb16_main.c:456:2: error: implicit declaration of function ‘snd_dma_pointer’ [-Werror=implicit-function-declaration]
    cc1: some warnings being treated as errors
    make[3]: *** [sound/isa/sb/sb16_main.o] Error 1
    sound/isa/sb/sb8_main.c: In function ‘snd_sb8_playback_prepare’:
    sound/isa/sb/sb8_main.c:172:3: error: implicit declaration of function ‘snd_dma_program’ [-Werror=implicit-function-declaration]
    sound/isa/sb/sb8_main.c: In function ‘snd_sb8_playback_pointer’:
    sound/isa/sb/sb8_main.c:425:2: error: implicit declaration of function ‘snd_dma_pointer’ [-Werror=implicit-function-declaration]
    cc1: some warnings being treated as errors
    make[3]: *** [sound/isa/sb/sb8_main.o] Error 1
    make[3]: Target `__build' not remade because of errors.
    make[2]: *** [sound/isa/sb] Error 2
    sound/isa/wss/wss_lib.c: In function ‘snd_wss_playback_prepare’:
    sound/isa/wss/wss_lib.c:1025:2: error: implicit declaration of function ‘snd_dma_program’ [-Werror=implicit-function-declaration]
    sound/isa/wss/wss_lib.c: In function ‘snd_wss_playback_pointer’:
    sound/isa/wss/wss_lib.c:1160:2: error: implicit declaration of function ‘snd_dma_pointer’ [-Werror=implicit-function-declaration]
    sound/isa/wss/wss_lib.c: In function ‘snd_wss_free’:
    sound/isa/wss/wss_lib.c:1695:3: error: implicit declaration of function ‘snd_dma_disable’ [-Werror=implicit-function-declaration]
    cc1: some warnings being treated as errors
    make[3]: *** [sound/isa/wss/wss_lib.o] Error 1
    warning: (RADIO_MIROPCM20) selects SND_ISA which has unmet direct dependencies (SOUND && !M68K && SND && ISA && ISA_DMA_API)

    A build with ISA && ISA_DMA && !ISA_DMA_API results in:
    CC sound/isa/es18xx.o
    CC sound/isa/sscape.o
    CC sound/isa/ad1816a/ad1816a_lib.o
    CC sound/isa/es1688/es1688_lib.o
    CC sound/isa/gus/gus_dma.o
    CC sound/isa/gus/gus_pcm.o
    CC sound/isa/sb/sb16_csp.o
    CC sound/isa/sb/sb16_main.o
    CC sound/isa/sb/sb8_main.o
    CC sound/isa/wss/wss_lib.o

    The root cause for this is hidden in this Kconfig warning:

    Adding a dependency on ISA_DMA_API to RADIO_MIROPCM20 fixes these issues.

    Signed-off-by: Ralf Baechle
    Acked-by: Takashi Iwai
    Signed-off-by: Mauro Carvalho Chehab

    Ralf Baechle
     

28 Mar, 2011

1 commit


23 Mar, 2011

1 commit

  • Remove broken radio-maestro driver as the radio functionality is now
    integrated in the es1968 driver.

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

    Ondrej Zary
     

22 Mar, 2011

2 commits


19 Jan, 2011

1 commit

  • The radio-gemtek-pci driver is for the same hardware as the radio-maxiradio
    driver which uses the same GemTek PR103 and tea5757 combination and the two
    drivers are identical. I chose the maxiradio over the gemtek-pci driver since
    the maxiradio has support for mono/stereo detection.

    Tested with my gemtek-pci card.

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

    Hans Verkuil
     

29 Dec, 2010

1 commit


27 Feb, 2010

3 commits

  • RADIO_TIMBERDALE selects RADIO_SAA7706H, but RADIO_SAA7706H
    depends on I2C, so make RADIO_TIMBERDALE depend on I2C also;
    otherwise there are build errors:

    drivers/media/radio/saa7706h.c:139: error: implicit declaration of function 'i2c_master_send'
    drivers/media/radio/saa7706h.c:148: error: implicit declaration of function 'i2c_transfer'
    drivers/media/radio/saa7706h.c:372: error: implicit declaration of function 'i2c_check_functionality'
    drivers/media/radio/saa7706h.c:375: error: implicit declaration of function 'i2c_adapter_id'
    drivers/media/radio/saa7706h.c:438: error: implicit declaration of function 'i2c_add_driver'
    drivers/media/radio/saa7706h.c:443: error: implicit declaration of function 'i2c_del_driver'

    Signed-off-by: Randy Dunlap
    Cc: Mocean Laboratories
    Signed-off-by: Mauro Carvalho Chehab

    Randy Dunlap
     
  • This patch add supports for the radio system on the Intel Russellville board.

    It's a In-Vehicle Infotainment board with a radio tuner and DSP.

    This umbrella driver has the DSP and tuner as V4L2 subdevs and calls them
    when needed.

    Signed-off-by: Richard Röjfors
    Reviewed-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Richard Röjfors
     
  • Initial support for the SAA7706H Car Radio DSP.

    It is a I2C device and currently the mute control is supported.

    When the device is unmuted it is brought out of reset and initiated using
    the proposed intialisation sequence.

    When muted the DSP is brought into reset state.

    [akpm@linux-foundation.org: include delay.h]

    Signed-off-by: Richard Röjfors
    Cc: Douglas Schilling Landgraf
    Cc: Hans Verkuil
    Cc: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Mauro Carvalho Chehab

    Richard Röjfors
     

16 Dec, 2009

2 commits


10 Dec, 2009

2 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
    ALSA: ice1724 - aureon - modify WM8770 Master & DAC volume
    ALSA: hda/realtek: quirk for D945GCLF2 mainboard
    ALSA: hda - Terradici HDA controllers does not support 64-bit mode
    ALSA: document: Add direct git link to grub hda-analyzer
    ALSA: radio/sound/miro: fix build, cleanup depends/selects
    ALSA: hda - Generalize EAPD inversion check in patch_analog.c
    ASoC: Wrong variable returned on error
    ALSA: snd-usb-us122l: add product IDs of US-122MKII and US-144MKII
    ALSA: hda - Exclude unusable ADCs for ALC88x
    ALSA: hda - Add missing Line-Out and PCM switches as slave
    ALSA: hda - iMac 9,1 sound patch.
    ALSA: opti93x: set MC indirect registers base from PnP data

    Linus Torvalds
     
  • * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6: (345 commits)
    V4L/DVB (13542): ir-keytable: Allow dynamic table change
    V4L/DVB (13541): atbm8830: replace 64-bit division and floating point usage
    V4L/DVB (13540): ir-common: Cleanup get key evdev code
    V4L/DVB (13539): ir-common: add __func__ for debug messages
    V4L/DVB (13538): ir-common: Use a dynamic keycode table
    V4L/DVB (13537): ir: Prepare the code for dynamic keycode table allocation
    V4L/DVB (13536): em28xx: Use the full RC5 code on HVR-950 Remote Controller
    V4L/DVB (13535): ir-common: Add a hauppauge new table with the complete RC5 code
    V4L/DVB (13534): ir-common: Remove some unused fields/structs
    V4L/DVB (13533): ir: use dynamic tables, instead of static ones
    V4L/DVB (13532): ir-common: Add infrastructure to use a dynamic keycode table
    V4L/DVB (13531): ir-common: rename the debug routine to allow exporting it
    V4L/DVB (13458): go7007: subdev conversion
    V4L/DVB (13457): s2250: subdev conversion
    V4L/DVB (13456): s2250: Change module structure
    V4L/DVB (13528): em28xx: add support for em2800 VC211A card
    em28xx: don't reduce scale to half size for em2800
    em28xx: don't load audio modules when AC97 is mis-detected
    em28xx: em2800 chips support max width of 640
    V4L/DVB (13523): dvb-bt8xx: fix compile warning
    ...

    Fix up trivial conflicts due to spelling fixes from the trivial tree in
    Documentation/video4linux/gspca.txt
    drivers/media/video/cx18/cx18-mailbox.h

    Linus Torvalds
     

09 Dec, 2009

1 commit

  • miropcm20 uses ALSA (snd_) interfaces from the SND_MIRO
    driver, so it should depend on SND.
    (selecting SND_MIRO when CONFIG_SND is not enabled is a
    problem.)

    drivers/built-in.o: In function `vidioc_s_ctrl':
    radio-miropcm20.c:(.text+0x227499): undefined reference to `snd_aci_cmd'
    drivers/built-in.o: In function `vidioc_s_frequency':
    radio-miropcm20.c:(.text+0x227574): undefined reference to `snd_aci_cmd'
    radio-miropcm20.c:(.text+0x227588): undefined reference to `snd_aci_cmd'
    drivers/built-in.o: In function `pcm20_init':
    radio-miropcm20.c:(.init.text+0x2a784): undefined reference to `snd_aci_get_aci'

    miropcm20 selects SND_MIRO but SND_ISA may be not enabled, so
    also select SND_ISA so that the snd-miro driver will be built.
    Otherwise there are missing symbols:

    ERROR: "snd_opl4_create" [sound/isa/opti9xx/snd-miro.ko] undefined!
    ERROR: "snd_wss_pcm" [sound/isa/opti9xx/snd-miro.ko] undefined!
    ERROR: "snd_wss_timer" [sound/isa/opti9xx/snd-miro.ko] undefined!
    ERROR: "snd_wss_create" [sound/isa/opti9xx/snd-miro.ko] undefined!
    ERROR: "snd_wss_mixer" [sound/isa/opti9xx/snd-miro.ko] undefined!

    Signed-off-by: Randy Dunlap
    Acked-by: Mauro Carvalho Chehab
    Cc: Krzysztof Helt
    Signed-off-by: Takashi Iwai

    Randy Dunlap
     

06 Dec, 2009

1 commit


27 Nov, 2009

1 commit

  • This is recreated driver for the FM module found on Miro
    PCM20 sound cards. This driver was removed around the 2.6.2x
    kernels because it relied on the removed OSS module. Now, it
    uses a current ALSA module (snd-miro) and is adapted to v4l2
    layer.

    It provides only basic functionality: frequency changing and
    FM module muting.

    Signed-off-by: Krzysztof Helt
    Reviewed-by: Hans Verkuil
    Acked-by: Mauro Carvalho Chehab
    Signed-off-by: Takashi Iwai

    Krzysztof Helt
     

19 Sep, 2009

1 commit


12 Sep, 2009

3 commits


03 Jan, 2009

1 commit

  • Add support for radio driver TEA5764 from NXP.
    This chip is connected in pxa I2C bus in EZX phones
    from Motorola, the chip is used in phone model A1200.
    This driver is for OpenEZX project (www.openezx.org)
    Tested with A1200 phone, openezx kernel and fm-tools

    [mchehab@redhat.com: Fixed CodingStyle and solved some merge conflicts]
    Signed-off-by: Fabio Belavenuto
    Signed-off-by: Mauro Carvalho Chehab

    Fabio Belavenuto
     

11 Nov, 2008

1 commit


18 Oct, 2008

1 commit


12 Oct, 2008

1 commit


18 Feb, 2008

1 commit

  • As pointed by Adrian Bunk, with I2C=m and VIDEO_DEV=y, videodev brokes.

    This patch moves the functions that videodev needs from v4l2-common. It also
    fixes some Kconfig changes.

    After this patch, I2C=m / VIDEO_DEV=y will make v4l2 core statically linked
    into kernel. v4l2-common will be m, and all V4L drivers will also be m.

    This approach is very conservative, since it is possible to have V4L drivers
    that don't need I2C or v4l2-common. The better is to map what drivers really
    need v4l2-common, making them to select v4l2-common, and allowing the others to
    be 'y', 'm' and 'n'.

    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     

26 Jan, 2008

1 commit

  • this patch adds a new driver for the Silicon Labs Si470x FM Radio Receiver. It
    should also work for the identical ADS/Tech FM Radio Receiver (formerly
    Instant FM Music) as soon as I find out the USB Vendor and Product ID.

    The driver is inspired by several other USB and radio drivers, but mainly from
    the D-Link DSB-R100 USB radio (dsbr100.c).

    The USB stick currently has an Si4701 FM RDS radio receiver. But the other
    Si470x devices are pin and register compatible, so that in the future the
    driver can easily be patched to support these too. Therefore I named the
    driver radio-si470x and the configuration option usb-si470x.

    The driver itself just provides the control function over the radio. For
    getting audio back, the device support the USB audio class, which is
    implemented in the already existing driver.

    I tested the driver in the last days, until it now satisfies all my
    functionality and robustness requirements. The application I used for testing
    was kradio.

    Signed-off-by: Tobias Lorenz
    Signed-off-by: Mauro Carvalho Chehab

    Tobias Lorenz
     

10 Oct, 2007

1 commit

  • Details now match with radio-gemtek.c, eg. no more different ports.
    Included a short note about cards that should be compatible with
    radio-gemtek module.

    Signed-off-by: Pekka Seppanen
    Signed-off-by: Douglas Schilling Landgraf
    Reviewed-by: Trent Piepho
    Signed-off-by: Mauro Carvalho Chehab

    Pekka Seppanen
     

19 Jul, 2007

1 commit


29 Jun, 2007

1 commit

  • If one has a dependency chain (tristate)FOO depends on (bool)BAR depends on
    (tristate)BAZ, build problems will result. If BAZ=m, then BAR can be set
    y, which allows FOO=y. It's possible to have FOO=y && BAZ=m, which
    wouldn't be allowed if FOO depended directly on BAZ. In effect, the bool
    promotes the tristate from m to y.

    This ends up causing a problem with several menuconfigs that look like:

    menuconfig BAR
    bool
    depends on BAZ [tristate]
    if BAR
    config FOO
    tristate
    endif

    The solution used here is to add the dependencies of BAR to the if
    statement, so that items in the if block will gain a direct
    non-bool-promoted dependency on BAZ. This is how it would work if a menu
    was used instead of an if block.

    Signed-off-by: Trent Piepho
    Acked-by: Mauro Carvalho Chehab
    Cc: "David S. Miller"
    Acked-by: Jeff Garzik
    Cc: Dominik Brodowski
    Cc: Chas Williams
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Trent Piepho
     

09 May, 2007

2 commits


27 Mar, 2007

1 commit

  • All the radio drivers need video_dev, but they were depending on
    VIDEO_DEV!=n. That meant that one could try to compile the driver into
    the kernel when VIDEO_DEV=m, which will not work. If video_dev is a
    module, then the radio drivers must be modules too.

    Signed-off-by: Trent Piepho
    Signed-off-by: Mauro Carvalho Chehab

    Trent Piepho
     

08 Dec, 2006

1 commit


04 Oct, 2006

1 commit


26 Sep, 2006

3 commits

  • Signed-off-by: Alan Cox
    Signed-off-by: Mauro Carvalho Chehab

    Alan Cox
     
  • This is a card with RDS capabilities.
    RDS specifications didn't change from V4L1 to V4L2, so that part should be OK.
    This patch changed the following stuff:
    * The device can be opened multiple times. That's necessary because there are
    at least a radio application and an RDS application (rdsd) that want to
    open() the device.
    * Added a poll() function. Every character device should have that, and rdsd
    expects it as it uses select() on that file descriptor.
    * Converted the ioctls to V4L2. MUTE is not implemented correctly as the
    card doesn't seem to have a special bit for that. Probably there are a few
    more ioctls that should at least return 0 or an error.
    As I do not own such a card, I couldn't test anything. If there is anybody out
    there who owns such an ancient card, please test and report.
    I just checked that the code compiles.

    Signed-off-by: Hans J. Koch
    Signed-off-by: Mauro Carvalho Chehab

    Hans J. Koch
     
  • Driver conversion to V4L2 API.
    Require some testing, since this obsolete hardware is not
    common those days.

    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab