ALSA: hda: hda_cs_dsp_ctl: Add apis to write the controls directly
authorStefan Binding <sbinding@opensource.cirrus.com>
Thu, 30 Jun 2022 00:23:23 +0000 (01:23 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 14 Jul 2022 09:22:39 +0000 (11:22 +0200)
commite414b05e724f5fbae6e86d074d7668287a603b24
tree8a28254b60a2bd96cfbcb755cf256d82d55fb977
parent3233b978af23f11b4ad4f7f11a9a64bd05702b1f
ALSA: hda: hda_cs_dsp_ctl: Add apis to write the controls directly

DSP controls are exposed as ALSA controls, however,
some of these controls are required to be accessed by
the driver. Add apis which allow read/write of these
controls. The write api will also notify the ALSA control
on value change.

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-3-vitalyr@opensource.cirrus.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_cs_dsp_ctl.c
sound/pci/hda/hda_cs_dsp_ctl.h