5 Sep
2014
5 Sep
'14
5:41 p.m.
On Fri, 2014-09-05 at 17:26 +0200, Clemens Ladisch wrote:
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()).
Thanks, will do!
Jurgen