diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-02-27 16:09:22 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-03-03 11:25:16 +0100 |
commit | 6efdd8513f182492c21fb7238592d4539d5c751a (patch) | |
tree | c399158c210875a0d5f235abf2b6154fc2a9bb13 /sound/pci/hda/hda_trace.h | |
parent | ALSA: hda - Split snd_hda_build_pcms() (diff) | |
download | linux-6efdd8513f182492c21fb7238592d4539d5c751a.tar.xz linux-6efdd8513f182492c21fb7238592d4539d5c751a.zip |
ALSA: hda - Add card field to hda_codec struct
Allow the codec object to have an individual card pointer. Not only
this simplifies the redirections in many places, also this will allow
us to make each codec assigned to a different card object.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_trace.h')
-rw-r--r-- | sound/pci/hda/hda_trace.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/hda/hda_trace.h b/sound/pci/hda/hda_trace.h index c0e1c7d24dbe..7fedfa862419 100644 --- a/sound/pci/hda/hda_trace.h +++ b/sound/pci/hda/hda_trace.h @@ -23,7 +23,7 @@ DECLARE_EVENT_CLASS(hda_cmd, ), TP_fast_assign( - __entry->card = (codec)->bus->card->number; + __entry->card = (codec)->card->number; __entry->addr = (codec)->addr; __entry->val = (val); ), @@ -71,7 +71,7 @@ DECLARE_EVENT_CLASS(hda_power, ), TP_fast_assign( - __entry->card = (codec)->bus->card->number; + __entry->card = (codec)->card->number; __entry->addr = (codec)->addr; ), |