diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2015-12-22 19:09:05 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2016-01-12 21:05:16 +0100 |
commit | de65360be0239a63268de589c4189f8ee52dad6c (patch) | |
tree | c7fe0f3b2d33e3e487b6e875826198dae7574ed8 /include/sound/core.h | |
parent | 3567eb6af614dac436c4b16a8d426f9faed639b3 (diff) | |
download | linux-de65360be0239a63268de589c4189f8ee52dad6c.tar.bz2 |
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>
Diffstat (limited to 'include/sound/core.h')
-rw-r--r-- | include/sound/core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/core.h b/include/sound/core.h index cdfecafff0f4..31079ea5e484 100644 --- a/include/sound/core.h +++ b/include/sound/core.h @@ -99,6 +99,7 @@ struct snd_card { char driver[16]; /* driver name */ char shortname[32]; /* short name of this soundcard */ char longname[80]; /* name of this soundcard */ + char irq_descr[32]; /* Interrupt description */ char mixername[80]; /* mixer name */ char components[128]; /* card components delimited with space */ |