• Heiner Kallweit's avatar
    ALSA: hda_intel: add card number to irq description · de65360b
    Heiner Kallweit authored
    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: 's avatarHeiner Kallweit <hkallweit1@gmail.com>
    Signed-off-by: 's avatarTakashi Iwai <tiwai@suse.de>
    de65360b
core.h 14 KB