26 Aug, 2008

4 commits


25 Aug, 2008

2 commits

  • Many SoC audio codec drivers have improper freeing of memory in error
    paths.

    * codec is allocated in the platform device probe function, but is not
    freed there in case of error. Instead it is freed in the i2c device
    probe function's error path. However the success or failure of both
    functions is not linked, so this could result in a double free (if
    the platform device is successfully probed, the i2c device probing
    fails and then the platform driver is unregistered.)

    * codec->private_data is allocated in many platform device probe
    functions but not freed in their error paths.

    This patch hopefully solves all these problems.

    Signed-off-by: Jean Delvare
    Signed-off-by: Mark Brown
    Signed-off-by: Takashi Iwai

    Jean Delvare
     
  • Correct a previous patch for the ca0106 onboard the MSI K8N Diamond PLUS
    motherboard. Confirmed to have Line/Mic/Aux working for input, and sound
    output working as expected.

    Signed-off-by: Travis Place
    Signed-off-by: Takashi Iwai

    Travis Place
     

24 Aug, 2008

1 commit


22 Aug, 2008

1 commit


21 Aug, 2008

1 commit


17 Aug, 2008

1 commit

  • On some Realtek codecs like ALC882 or ALC883, the capture source is
    no mux but sum widget. We have to initialize all channels properly
    for this type, otherwise noises may come in from the unused route.

    The patch assures to mute unused routes, and unmute the currently
    selected route.

    Signed-off-by: Takashi Iwai
    Tested-by: Daniel J Blueman

    Takashi Iwai
     

15 Aug, 2008

2 commits


14 Aug, 2008

1 commit


12 Aug, 2008

4 commits


11 Aug, 2008

1 commit


09 Aug, 2008

1 commit

  • Conflicts:

    drivers/watchdog/at91rm9200_wdt.c
    drivers/watchdog/davinci_wdt.c
    drivers/watchdog/ep93xx_wdt.c
    drivers/watchdog/ixp2000_wdt.c
    drivers/watchdog/ixp4xx_wdt.c
    drivers/watchdog/ks8695_wdt.c
    drivers/watchdog/omap_wdt.c
    drivers/watchdog/pnx4008_wdt.c
    drivers/watchdog/sa1100_wdt.c
    drivers/watchdog/wdt285.c

    Russell King
     

08 Aug, 2008

1 commit


07 Aug, 2008

6 commits


05 Aug, 2008

1 commit


04 Aug, 2008

1 commit

  • If an OSS application calls SNDCTL_DSP_SYNC, then ALSA will call the driver's
    _hw_params and _prepare functions again. On the Freescale MPC8610 DMA ASoC
    driver, this caused the DMA controller to be unneccessarily re-programmed, and
    apparently it doesn't like that. The DMA will then not operate when
    instructed. This patch relocates much of the DMA programming to
    fsl_dma_open(), which is called only once.

    Signed-off-by: Timur Tabi
    Signed-off-by: Takashi Iwai

    Timur Tabi
     

02 Aug, 2008

1 commit


29 Jul, 2008

5 commits

  • dapm_reg_event() is used by devices using SND_SOC_DAPM_REG() so needs to
    be exported to support building them as modules and prototyped to avoid
    sparse warnings and potential build issues.

    Signed-off-by: Mark Brown
    Signed-off-by: Takashi Iwai

    Mark Brown
     
  • Signed-off-by: Dmitry Baryshkov
    Cc: Richard Purdie
    Signed-off-by: Mark Brown
    Signed-off-by: Takashi Iwai

    Dmitry Baryshkov
     
  • The Freescale MPC8610 SSI device has the option of using one clock for both
    transmit and receive (synchronous mode), or independent clocks (asynchronous).
    The SSI driver, however, programs the SSI into synchronous mode and then
    tries to program the clock registers independently. The result is that the wrong
    sample size is usually generated during recording.

    This patch fixes the discrepancy by restricting the sample rate and sample size
    of the playback and capture streams. The SSI driver remembers which stream
    is opened first. When a second stream is opened, that stream is constrained
    to the same sample rate and size as the first stream.

    A future version of this driver will lift the sample size restriction.
    Supporting independent sample rates is more difficult, because only certain
    codecs provide dual independent clocks.

    Signed-off-by: Timur Tabi
    Signed-off-by: Takashi Iwai

    Timur Tabi
     
  • Removed duplicated include in
    sound/soc/pxa/tosa.c.

    Signed-off-by: Huang Weiyi
    Acked-by: Mark Brown
    Signed-off-by: Takashi Iwai

    Huang Weiyi
     
  • This follows the sparc changes a439fe51a1f8eb087c22dd24d69cebae4a3addac.

    Most of the moving about was done with Sam's directions at:

    http://marc.info/?l=linux-sh&m=121724823706062&w=2

    with subsequent hacking and fixups entirely my fault.

    Signed-off-by: Sam Ravnborg
    Signed-off-by: Paul Mundt

    Paul Mundt
     

28 Jul, 2008

2 commits

  • Mauro Carvalho Chehab
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
    ALSA: Allow to force model to intel-mac-v3 in snd_hda_intel (sigmatel).
    ALSA: cs4232: fix crash during chip PNP detection
    ALSA: hda - Add automatic model setting for the Acer Aspire 5920G laptop
    ALSA: make snd_ac97_add_vmaster() static
    ALSA: sound/pci/azt3328.h: no variables for enums
    ALSA: soc - wm9712 mono mixer
    ALSA: hda - Add support of ASUS Eeepc P90*
    ALSA: opti9xx: no isapnp param for !CONFIG_PNP
    ALSA: opti93x - Fix NULL dereference
    ALSA: hda - Added support for Asus V1Sn
    ALSA: ASoC: Factor PGA DAPM handling into main
    ALSA: ASoC: Refactor DAPM event handler
    ALSA: ALSA: ens1370: communicate PCI device to AC97
    ALSA: ens1370: SRC stands for Sample Rate Converter
    ALSA: hda - Align BDL position adjustment parameter
    ALSA: Au1xpsc: psc not disabled when TX is idle
    ALSA: add TriTech 28023 AC97 codec ID and Wolfson 9701 name.

    Linus Torvalds
     

27 Jul, 2008

4 commits

  • Mauro Carvalho Chehab
     
  • The type and type2 fields were unused and so could be removed.
    Instead add a vfl_type field that contains the type of the video
    device.

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

    Hans Verkuil
     
  • Currently, even if you pass model=intel-mac-v3 as a module parameter to
    snd_hda_intel, the function patch_stac922x (patch_sigmatel.c) will still
    try to auto-detect the model type. This is a problem on my MacBook Pro 1st
    generation, which needs intel-mac-v3, but sometimes incorrectly reports
    0x00000100 as subsystem id, which causes the switch in patch_stac922x to
    select intel-mac-v4.

    To fix this, I added a new model called intel-mac-auto, so in case no
    module parameter is passed, and an Intel Mac board is detected, the
    model will be automatically detected, while no detection will be done
    if the model is forced to intel-mac-v3.

    This problem has been around for quite a while, and I used to fix it
    by moving the case statement for 0x00000100 in patch_stac922x so that
    intel-mac-v3 is chosen.

    Another way to fix the problem would be to check if a module parameter
    was set directly in patch_stac922x, using something like this:
    if (spec->board_config == STAC_INTEL_MAC_V3 &&
    !codec->bus->modelname) {

    But I think it is less elegant (if you prefer that way, I can prepare a
    patch).

    Signed-off-by: Nicolas Boichat
    Signed-off-by: Takashi Iwai

    Nicolas Boichat
     
  • The acard->wss pointer is uninitialized in this function
    which leads to crash during chip PNP detection.

    Signed-off-by: Krzysztof Helt
    Acked-by: Rene Herman
    Signed-off-by: Takashi Iwai

    Krzysztof Helt