]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda_intel: add card number to irq description
authorHeiner Kallweit <hkallweit1@gmail.com>
Tue, 22 Dec 2015 18:09:05 +0000 (19:09 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 12 Jan 2016 20:05:16 +0000 (21:05 +0100)
commit88de7bf3630ad3360cf535492555bc3ec0fbf902
treec7fe0f3b2d33e3e487b6e875826198dae7574ed8
parent1f0bfdbcf5da20b3e47bb3f5af0e131ec27f1573
ALSA: hda_intel: add card number to irq description

Currently the info in /proc/interrupts doesn't allow to figure out which
interrupt belongs to which card (HDMI, PCH, ..).
Therefore add card details to the interrupt description.
With the patch the info in /proc/interrupts looks like this:

PCI-MSI 442368-edge      snd_hda_intel:card1
PCI-MSI 49152-edge      snd_hda_intel:card0

NOTE: this patch adds the new irq_descr field snd_card struct that is
filled automatically at a card object creation.  This can be used
generically for other drivers as well.  The changes for others will
follow later -- tiwai

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/core.h
sound/core/init.c
sound/pci/hda/hda_intel.c