25 May, 2018

1 commit

  • [ Upstream commit 71426535f49fe6034d0e0db77608b91a0c1a022d ]

    Add native DSD support quirk for Luxman DA-06 DAC, by adding the
    PID/VID 1852:5065.

    Rename "is_marantz_denon_dac()" function to "is_itf_usb_dsd_2alts_dac()"
    to cover broader device family sharing the same USB audio
    implementation(*).
    For the same reason, rename "is_teac_dsd_dac()" function to
    "is_itf_usb_dsd_3alts_dac()".

    (*)
    These devices have the same USB controller "ITF-USB DSD", supplied by
    INTERFACE Co., Ltd.
    "ITF-USB DSD" USB controller has two patterns,

    Pattern 1. (2 altsets version)
    - Altset 0: for control
    - Altset 1: for stream (S32)
    - Altset 2: for stream (S32, DSD_U32)

    Pattern 2. (3 altsets version)
    - Altset 0: for control
    - Altset 1: for stream (S16)
    - Altset 2: for stream (S32)
    - Altset 3: for stream (S32, DSD_U32)

    "is_itf_usb_dsd_2alts_dac()" returns true, if the DAC has "Pattern 1"
    USB controller, and "is_itf_usb_dsd_3alts_dac()" returns true, if
    "Pattern2".

    Signed-off-by: Nobutaka Okabe
    Signed-off-by: Takashi Iwai
    Signed-off-by: Sasha Levin
    Signed-off-by: Greg Kroah-Hartman

    Nobutaka Okabe
     

08 Apr, 2018

1 commit


22 Feb, 2018

1 commit


30 Dec, 2017

1 commit

  • commit 866f7ed7d67936dcdbcddc111c8af878c918fe7c upstream.

    Adds VID:PID of Esoteric D-05X to the TEAC device id's.
    Renames the is_teac_50X_dac() function to is_teac_dsd_dac() to cover
    broader device family from the same corporation sharing the same USB
    audio implementation.

    Signed-off-by: Jussi Laako
    Signed-off-by: Takashi Iwai
    Signed-off-by: Greg Kroah-Hartman

    Jussi Laako
     

02 Nov, 2017

1 commit


16 Oct, 2017

1 commit


09 Oct, 2017

1 commit


21 Sep, 2017

1 commit


22 Aug, 2017

2 commits


18 Aug, 2017

1 commit


15 Aug, 2017

1 commit

  • A Senheisser headset requires the typical sample-rate quirk for
    avoiding spurious errors from inquiring the current sample rate like:
    usb 1-1: 2:1: cannot get freq at ep 0x4
    usb 1-1: 3:1: cannot get freq at ep 0x83

    The USB ID 1395:740a has to be added to the entries in
    snd_usb_get_sample_rate_quirk().

    Bugzilla: https://bugzilla.suse.com/show_bug.cgi?id=1052580
    Cc:
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     

13 Aug, 2017

1 commit


15 May, 2017

1 commit


26 Jan, 2017

1 commit


10 Jan, 2017

1 commit

  • Plantronics BT600 does not support reading the sample rate which leads
    to many lines of "cannot get freq at ep 0x1" and "cannot get freq at
    ep 0x82". This patch adds the USB ID of the BT600 to quirks.c and
    avoids those error messages.

    Signed-off-by: Dennis Kadioglu
    Cc:
    Signed-off-by: Takashi Iwai

    Dennis Kadioglu
     

28 Dec, 2016

1 commit


13 Dec, 2016

1 commit


11 Sep, 2016

1 commit


29 Aug, 2016

1 commit


22 Aug, 2016

2 commits


09 Aug, 2016

2 commits


12 May, 2016

1 commit


29 Apr, 2016

1 commit


06 Apr, 2016

1 commit


04 Apr, 2016

1 commit

  • Phoenix Audio TMX320 gives the similar error when the sample rate is
    asked:
    usb 2-1.3: 2:1: cannot get freq at ep 0x85
    usb 2-1.3: 1:1: cannot get freq at ep 0x2
    ....

    Add the corresponding USB-device ID (1de7:0014) to
    snd_usb_get_sample_rate_quirk() list.

    Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=110221
    Cc:
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     

01 Apr, 2016

1 commit

  • create_fixed_stream_quirk(), snd_usb_parse_audio_interface() and
    create_uaxx_quirk() functions allocate the audioformat object by themselves
    and free it upon error before returning. However, once the object is linked
    to a stream, it's freed again in snd_usb_audio_pcm_free(), thus it'll be
    double-freed, eventually resulting in a memory corruption.

    This patch fixes these failures in the error paths by unlinking the audioformat
    object before freeing it.

    Based on a patch by Takashi Iwai

    [Note for stable backports:
    this patch requires the commit 902eb7fd1e4a ('ALSA: usb-audio: Minor
    code cleanup in create_fixed_stream_quirk()')]

    Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1283358
    Reported-by: Ralf Spenneberg
    Cc: # see the note above
    Signed-off-by: Vladis Dronov
    Signed-off-by: Takashi Iwai

    Vladis Dronov
     

20 Mar, 2016

1 commit


16 Mar, 2016

2 commits


04 Mar, 2016

1 commit


01 Mar, 2016

1 commit

  • Plantronics DA45 does not support reading the sample rate which leads
    to many lines of "cannot get freq at ep 0x4" and "cannot get freq at
    ep 0x84". This patch adds the USB ID of the DA45 to quirks.c and
    avoids those error messages.

    Signed-off-by: Dennis Kadioglu
    Cc:
    Signed-off-by: Takashi Iwai

    Dennis Kadioglu
     

08 Feb, 2016

1 commit


30 Jan, 2016

1 commit


29 Jan, 2016

3 commits

  • This patch adds native DSD support for the PS Audio NuWave DAC.

    Signed-off-by: Jurgen Kramer
    Cc:
    Signed-off-by: Takashi Iwai

    Jurgen Kramer
     
  • In my patch adding native DSD support for the Oppo HA-1, the wrong vendor ID got
    through. This patch fixes the vendor ID and aligns the comment.

    Fixes: a4eae3a506ea ('ALSA: usb: Add native DSD support for Oppo HA-1')
    Signed-off-by: Jurgen Kramer
    Cc:
    Signed-off-by: Takashi Iwai

    Jurgen Kramer
     
  • This is a preliminary patch for the later change to allow a better
    quirk ID management. In the current USB-audio code, there are a few
    places looking at usb_device idVendor and idProduct fields directly
    even though we have already a static member in snd_usb_audio.usb_id.
    This patch modifies such codes to refer to the latter field.

    For achieving this, two slightly intensive changes have been done:
    - The snd_usb_audio object is set/reset via dev_getdrv() for the given
    USB device; it's needed for minimizing the changes for some existing
    quirks that take only usb_device object.

    - __snd_usbmidi_create() is introduced to receive the pre-given usb_id
    argument. The exported snd_usbmidi_create() is unchanged by calling
    this new function internally.

    Signed-off-by: Takashi Iwai

    Takashi Iwai
     

26 Jan, 2016

1 commit