17 Jun, 2011

1 commit

  • Fixed remaining issues of the signedness bug discovered by Dan Carpenter.
    A check was remaining that tests if unsigned rt->rate is >= 0.
    Changed that so that rt->rate now consistently uses ARRAY_SIZE(rates)
    as invalid rate value and not -1.

    Signed-off-by: Torsten Schenk
    Signed-off-by: Takashi Iwai

    Torsten Schenk
     

14 Jun, 2011

1 commit


04 Jun, 2011

1 commit


03 Jun, 2011

1 commit


25 May, 2011

5 commits


22 May, 2011

1 commit


18 May, 2011

8 commits


29 Apr, 2011

1 commit


28 Apr, 2011

1 commit


26 Apr, 2011

1 commit


14 Apr, 2011

1 commit


11 Apr, 2011

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
    ALSA: hda - Don't query connections for widgets have no connections
    ALSA: HDA: Fix single internal mic on ALC275 (Sony Vaio VPCSB1C5E)
    ALSA: hda - HDMI: Fix MCP7x audio infoframe checksums
    ALSA: usb-audio: define another USB ID for a buggy USB MIDI cable
    ALSA: HDA: Fix dock mic for Lenovo X220-tablet
    ASoC: format_register_str: Don't clip register values
    ASoC: PXA: Fix oops in __pxa2xx_pcm_prepare
    ASoC: zylonite: set .codec_dai_name in initializer

    Linus Torvalds
     

06 Apr, 2011

1 commit


04 Apr, 2011

5 commits


31 Mar, 2011

1 commit


24 Mar, 2011

2 commits


21 Mar, 2011

1 commit


11 Mar, 2011

3 commits


10 Mar, 2011

2 commits


23 Feb, 2011

1 commit

  • When a USB audio device is disconnected, snd_usb_audio_disconnect()
    kills all audio URBs. At the same time, the application, after being
    notified of the disconnection, might close the device, in which case
    ALSA calls the .hw_free callback, which should free the URBs too.

    Commit de1b8b93a0ba "[ALSA] Fix hang-up at disconnection of usb-audio"
    prevented snd_usb_hw_free() from freeing the URBs to avoid a hang that
    resulted from this race, but this introduced another race because the
    URB callbacks could now be executed after snd_usb_hw_free() has
    returned, and try to access already freed data.

    Fix the first race by introducing a mutex to serialize the disconnect
    callback and all PCM callbacks that manage URBs (hw_free and hw_params).

    Reported-and-tested-by: Pierre-Louis Bossart
    Cc:
    [CL: also serialize hw_params callback]
    Signed-off-by: Clemens Ladisch
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     

15 Feb, 2011

1 commit