5 Sep
2014
5 Sep
'14
5:26 p.m.
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