04 Sep, 2010

1 commit

  • The Audio Class v2 support code in 2.6.35 added checks for the
    bInterfaceProtocol field. However, there are devices (usually those
    detected by vendor-specific quirks) that do not have one of the
    predefined values in this field, which made the driver reject them.

    To fix this regression, restore the old behaviour, i.e., assume that
    a device with an unknown bInterfaceProtocol field (other than
    UAC_VERSION_2) has more or less UAC-v1-compatible descriptors.

    [compile warning fixes by tiwai]

    Signed-off-by: Clemens Ladisch
    Cc: Daniel Mack
    Cc:
    Signed-off-by: Takashi Iwai

    Clemens Ladisch
     

24 Jun, 2010

1 commit


23 Jun, 2010

4 commits


12 Jun, 2010

1 commit

  • For RANGE requests, we should only query as much bytes as we're in fact
    interested in.

    For CUR requests, we shouldn't confuse the firmware with an overlong
    request but just ask for 2 bytes.

    This might need fixing in the future as it's not entirely clear when to
    dispatch 1-byte, 2-byte and 4-byte request blocks. For now, we assume
    everything is coded in 16bit - this works for all firmware
    implementations I've seen.

    Signed-off-by: Daniel Mack
    Reported-by: Alex Lee
    Signed-off-by: Takashi Iwai

    Daniel Mack
     

01 Jun, 2010

6 commits


28 May, 2010

1 commit


20 May, 2010

1 commit


12 May, 2010

1 commit

  • For both UAC1 and UAC2, interrupt endpoint messages are now parsed with
    structs rather that with anonymous buffer array accesses.

    For UAC2, only CUR interrupt notifications are supported for now.

    snd_usb_mixer_status_complete() was renamed to
    snd_usb_mixer_interrupt().

    Fixed one indentation flaw on the way.

    Signed-off-by: Daniel Mack
    Cc: Clemens Ladisch
    Signed-off-by: Takashi Iwai

    Daniel Mack
     

08 May, 2010

1 commit

  • Commit 23caaf19b ("ALSA: usb-mixer: Add support for Audio Class v2.0")
    broke support for Class1 devices due to two faulty changes. This patch
    fixes it.

    Signed-off-by: Daniel Mack
    Reported-and-Tested-by: The Source
    Cc: Clemens Ladisch
    Signed-off-by: Takashi Iwai

    Daniel Mack
     

16 Apr, 2010

1 commit


12 Mar, 2010

3 commits