aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2021-04-15 17:41:25 +0200
committerTakashi Iwai <tiwai@suse.de>2021-04-15 17:41:25 +0200
commitf2db3c875c0d7330d3d9987781c7a3e5ee7e4175 (patch)
tree15c04dcb57d65033609a931255a9be0488c293e6
parent38272fc445344d5ce9eea7341f6a06a04e3d21e3 (diff)
downloadhda-emu-f2db3c875c0d7330d3d9987781c7a3e5ee7e4175.tar.gz
Fix for the new control led stuff in 5.13
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--include/sound/control.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sound/control.h b/include/sound/control.h
index 3b20f91..e780014 100644
--- a/include/sound/control.h
+++ b/include/sound/control.h
@@ -212,4 +212,9 @@ void snd_kctl_jack_report(struct snd_card *card,
#define SNDRV_CTL_ELEM_ACCESS_SKIP_CHECK 0
+#define SNDRV_CTL_ELEM_ACCESS_MIC_LED 0 /* XXX */
+#define SNDRV_CTL_ELEM_ACCESS_SPK_LED 0 /* XXX */
+
+#define snd_ctl_led_request() do {} while (0)
+
#endif /* __SOUND_CONTROL_H */