04 Dec, 2009

1 commit


09 Nov, 2009

3 commits


03 Nov, 2009

2 commits

  • * 'fixes-s3c-2632-rc5' of git://git.fluff.org/bjdooks/linux:
    ARM: S3C2410: Fix sparse warnings in arch/arm/mach-s3c2410/gpio.c
    ARM: S3C2440: mini2440: Fix spare warnings
    ARM: S3C24XX: Fix warnings in arch/arm/plat-s3c24xx/gpio.c
    ARM: S3C2440: mini2440: Fix missing CONFIG_S3C_DEV_USB_HOST
    ARM: S3C24XX: arch/arm/plat-s3c24xx: Move dereference after NULL test
    ARM: S3C: Fix adc function exports
    ARM: S3C2410: Fix link if CONFIG_S3C2410_IOTIMING is not set
    ARM: S3C24XX: Introduce S3C2442B CPU
    ARM: S3C24XX: Define a macro to avoid compilation error
    ARM: S3C: Add info for supporting circular DMA buffers
    ARM: S3C64XX: Set rate of crystal mux
    ARM: S3C64XX: Fix S3C64XX_CLKDIV0_ARM_MASK value

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
    ALSA: hda - Don't check invalid HP pin
    ALSA: dummy - Fix descriptions of pcm_substreams parameter
    ALSA: pcmcia: use dynamic debug infrastructure, deprecate CS_CHECK (sound)
    ALSA: hda: Use quirk mask for Dell Inspiron Mini9/Vostro A90 using ALC268
    sound: via82xx: deactivate DXS controls of inactive streams
    ALSA: snd-usb-caiaq: Bump version number to 1.3.20
    ALSA: snd-usb-caiaq: Lock on stream start/unpause
    ALSA: snd-usb-caiaq: Missing lock around use of buffer positions
    ALSA: sound/parisc: Move dereference after NULL test
    ALSA: sound: Move dereference after NULL test and drop unnecessary NULL tests
    ALSA: hda_intel: Add the Linux device ID for NVIDIA HDA controller
    ALSA: pcsp - Fix nforce workaround
    ALSA: SND_CS5535AUDIO: Remove the X86 platform dependency
    ASoC: Amstrad Delta: add info about the line discipline requirement to Kconfig help text
    ASoC: Fix possible codec_dai->ops NULL pointer problems
    ALSA: hda - Fix capture source checks for ALC662/663 codecs
    ASoC: Serialize access to dapm_power_widgets()

    Linus Torvalds
     

02 Nov, 2009

6 commits


30 Oct, 2009

9 commits

  • Activate the DXS volume controls only when the corresponding stream is
    being used. This makes the behaviour consistent with the other drivers
    that have per-stream volume controls.

    Signed-off-by: Clemens Ladisch
    Signed-off-by: Takashi Iwai

    Clemens Ladisch
     
  • Signed-off-by: Mark Hills
    Acked-by: Daniel Mack
    Signed-off-by: Takashi Iwai

    Mark Hills
     
  • Fix a bug which can result in white noise from the driver after stream
    start or unpause.

    Signed-off-by: Mark Hills
    Acked-by: Daniel Mack
    Signed-off-by: Takashi Iwai

    Mark Hills
     
  • Fix a race which causes snd_pcm_update_hw_ptr_pos() to report a bug.

    Signed-off-by: Mark Hills
    Acked-by: Daniel Mack
    Signed-off-by: Takashi Iwai

    Mark Hills
     
  • If the NULL test on h is needed in snd_harmony_mixer_init, then the
    dereference should be after the NULL test.

    Actually, there is a sequence of calls: snd_harmony_create, then
    snd_harmony_pcm_init, and then snd_harmony_mixer_init. snd_harmony_create
    initializes h, but may indeed leave it as NULL. There was no NULL test at
    the beginning of snd_harmony_pcm_init, so I have added one. The NULL test
    in snd_harmony_mixer_init is then not necessary, but in case the ordering
    of the calls changes, I have left it, and moved the dereference after it.

    A simplified version of the semantic match that detects this problem is as
    follows (http://coccinelle.lip6.fr/):

    //
    @match exists@
    expression x, E;
    identifier fld;
    @@

    * x->fld
    ... when != \(x = E\|&x\)
    * x == NULL
    //

    Signed-off-by: Julia Lawall
    Signed-off-by: Takashi Iwai

    Julia Lawall
     
  • In pcm.c, if the NULL test on pcm is needed, then the dereference should be
    after the NULL test.

    In dummy.c and ali5451.c, the context of the calls to
    snd_card_dummy_new_mixer and snd_ali_free_voice show that dummy and pvoice,
    respectively cannot be NULL.

    A simplified version of the semantic match that detects this problem is as
    follows (http://coccinelle.lip6.fr/):

    //
    @match exists@
    expression x, E;
    identifier fld;
    @@

    * x->fld
    ... when != \(x = E\|&x\)
    * x == NULL
    //

    Signed-off-by: Julia Lawall
    Signed-off-by: Takashi Iwai

    Julia Lawall
     
  • Add the generic device ID for NVIDIA HDA controller.

    Signed-off-by: Peer Chen
    Signed-off-by: Takashi Iwai

    peer chen
     
  • The attached patch fixes the problems introduced in this commit:
    http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=eea0579fc85e64e9f05361d5aacf496fe7a151aa

    - Fix nForce workaround by honouring the pointer_update var
    - Revert "ns" to u64, as per the hrtimer API
    - Revert to the zero-delay timer startup, since I can't reproduce any
    problem with it (please, give me the hint!)

    Signed-off-by: Stas Sergeev
    Signed-off-by: Takashi Iwai

    Stas Sergeev
     
  • SND_CS5535AUDIO is available on Loongson(MIPS compatible) family
    machines, and checked it with ARCH=x86_64, no relative compiling
    warnings & errors, so, remove the platform dependency directly.

    Reported-by: rixed@happyleptic.org
    Acked-by: Andres Salomon
    Signed-off-by: Wu Zhangjin
    Signed-off-by: Takashi Iwai

    Wu Zhangjin
     

29 Oct, 2009

1 commit

  • The S3C64XX DMA implementation will work a lot better with the ability
    to enqueue circular buffers as the hardware can do it's own linked-list
    management.

    Add a function s3c_dma_has_circular() to show that the system can do this
    and a flag for the channel.

    Update the s3c24xx/s3c64xx I2S DMA code to deal with this.

    Signed-off-by: Ben Dooks
    Signed-off-by: Ben Dooks
    Acked-by: Mark Brown

    Ben Dooks
     

27 Oct, 2009

1 commit


26 Oct, 2009

1 commit


19 Oct, 2009

1 commit

  • Some codec DAIs like stac9766, wm9712, wm9713, ad1980 don't register themselves
    then it loses to the chance to be given a null_dai_ops in snd_soc_register_dai
    if they have no ops. When functions like soc_pcm_open, soc_pcm_hw_params etc.
    access the ops field in these DAIs, panic will happen.

    Signed-off-by: Barry Song
    Signed-off-by: Mark Brown

    Barry Song
     

15 Oct, 2009

1 commit


13 Oct, 2009

8 commits


12 Oct, 2009

1 commit


10 Oct, 2009

1 commit

  • Fix the num_total_dacs setting for Chaintech AV710. The existing comment
    that only PSDOUT0 is connected is correct, but since the card is using
    packed AC97 mode to send 6 channels to the codec, num_total_dacs should be
    set to 6 and not 2. This allows 6-channel surround to work. Also clarify
    a comment regarding the additional WM8728 codec on this card (it's connected
    to the SPDIF output and always receives the same data).

    Signed-off-by: Robert Hancock
    Signed-off-by: Takashi Iwai

    Robert Hancock
     

09 Oct, 2009

1 commit

  • Allow Nvidia HDMI to support more possible sample rates and formats.
    At best, the really supported rates and formats should be determined
    together with the negotiation with the HDMI receiver, but it's currently
    not implemented yet (Nvidia stuff seems incompatible with HDMI 1.3
    standard in this regard). As a compromise, we enable all bits, assuming
    that all recent devices do support such rates/formats.

    Tested-by: Alan Alan
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     

08 Oct, 2009

3 commits