ALSA: emu10k1: actually show some S/PDIF status in /proc for E-MU cards
authorOswald Buddenhagen <oswald.buddenhagen@gmx.de>
Mon, 12 Jun 2023 19:13:25 +0000 (21:13 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 13 Jun 2023 05:47:34 +0000 (07:47 +0200)
commit58cc6133cc27496c1f041f302e13c33f0867be8a
tree574f98efc6ee6301ff5ec6e4a4da2d677d5bdf3c
parent3ac251420be2bbc9f5e83281661dbfaf05983f69
ALSA: emu10k1: actually show some S/PDIF status in /proc for E-MU cards

The file is called spdif-in, but we abused it to show only sample rates
from various sources. Rectify it as far as possible (the FPGA doesn't
give us a lot of information).

Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Link: https://lore.kernel.org/r/20230612191325.1315854-10-oswald.buddenhagen@gmx.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/emu10k1/emuproc.c