summaryrefslogtreecommitdiff
path: root/sound/pci/hda/hda_component.h
diff options
context:
space:
mode:
authorStefan Binding <sbinding@opensource.cirrus.com>2022-06-30 03:23:24 +0300
committerTakashi Iwai <tiwai@suse.de>2022-07-14 12:22:39 +0300
commit22d5cbd273a2ca90ba026ec82f0b9c3e984b0c1c (patch)
tree0969548d0e729e8c00b2d47df6bb98695138c45e /sound/pci/hda/hda_component.h
parente414b05e724f5fbae6e86d074d7668287a603b24 (diff)
downloadlinux-22d5cbd273a2ca90ba026ec82f0b9c3e984b0c1c.tar.xz
ALSA: hda: cs35l41: Save codec object inside component struct
This is required for ALSA control support. Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com> Signed-off-by: Vitaly Rodionov <vitalyr@opensource.cirrus.com> Link: https://lore.kernel.org/r/20220630002335.366545-4-vitalyr@opensource.cirrus.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_component.h')
-rw-r--r--sound/pci/hda/hda_component.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_component.h b/sound/pci/hda/hda_component.h
index e26c896a13f3..534e845b9cd1 100644
--- a/sound/pci/hda/hda_component.h
+++ b/sound/pci/hda/hda_component.h
@@ -14,5 +14,6 @@
struct hda_component {
struct device *dev;
char name[HDA_MAX_NAME_SIZE];
+ struct hda_codec *codec;
void (*playback_hook)(struct device *dev, int action);
};