]> Pileus Git - ~andy/linux/commit
ALSA: dice: fix device detection for other vendors
authorClemens Ladisch <clemens@ladisch.de>
Sun, 4 Sep 2011 20:16:02 +0000 (22:16 +0200)
committerClemens Ladisch <clemens@ladisch.de>
Sun, 20 Oct 2013 20:07:57 +0000 (22:07 +0200)
commitcbab328ddc78589233be8be2f1e6a5f9d97b81db
tree49fac9dcb4b812c00e06ec010310a2b21bbc6255
parent54e72f0ba31e1562e6d6277d0e4d39a7004f814d
ALSA: dice: fix device detection for other vendors

DICE devices do not have a unique specifier ID in their unit directory
(it's always the same as the device vendor's ID), so rely on just the
version ID for driver loading, and use a heuristic in the probe callback
to detect actual DICE devices.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
sound/firewire/dice.c