udev: fix match expression to Focusrite Saffire Pro i/o series for ignorance
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 30 May 2021 04:09:44 +0000 (13:09 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 30 May 2021 04:22:29 +0000 (13:22 +0900)
commit4d825dad426da9169cf710f5c95f53e349fa937e
treea08d3ab73606294e6563c053cef055fe4f108acc
parente818899e51733fa981477426f041f34edbcb6ad0
udev: fix match expression to Focusrite Saffire Pro i/o series for ignorance

It seems that in sound context environment variable is not available for
match expression.

This commit utilizes walkthrough to refer to attributes in fw node. The
combination of vendor, model, units is enough to match the node since
the attributes of fw unit doesn't have vendor.

Fix: 37358e42c49a ("alsa: Suppress udev detection of sound card for some units on IEEE 1394 bus")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/566>
src/modules/alsa/90-pulseaudio.rules