All of lore.kernel.org
 help / color / mirror / Atom feed
From: Clemens Ladisch <clemens@ladisch.de>
To: Jurgen Kramer <gtmkramer@xs4all.nl>, alsa-devel@alsa-project.org
Subject: Re: [PATCH v2] add native DSD support for XMOS based DACs
Date: Fri, 05 Sep 2014 17:26:26 +0200	[thread overview]
Message-ID: <5409D622.7050509@ladisch.de> (raw)
In-Reply-To: <1409919897-7040-1-git-send-email-gtmkramer@xs4all.nl>

Jurgen Kramer wrote:
> +	/* XMOS based USB DACs */
> +	if (le16_to_cpu(chip->dev->descriptor.idVendor) == 0x20b1) {
> +		switch (le16_to_cpu(chip->dev->descriptor.idProduct)) {
> +		/* iFi Audio micro/nano iDSD */
> +		case 0x3008:

And you don't need to go through the descriptors; you can test
chip->usb_id directly (see snd_usb_set_format_quirk()).


Regards,
Clemens

  parent reply	other threads:[~2014-09-05 15:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-05 12:24 [PATCH v2] add native DSD support for XMOS based DACs Jurgen Kramer
2014-09-05 13:36 ` Takashi Iwai
2014-09-05 13:58   ` Jurgen Kramer
2014-09-05 14:27     ` Takashi Iwai
2014-09-05 14:37       ` Jurgen Kramer
2014-09-05 14:51         ` Takashi Iwai
2014-09-05 15:03           ` Jurgen Kramer
2014-09-05 15:26 ` Clemens Ladisch [this message]
2014-09-05 15:41   ` Jurgen Kramer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5409D622.7050509@ladisch.de \
    --to=clemens@ladisch.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=gtmkramer@xs4all.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.