]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit44ae0f5ebc8b6151bb3f947fec35fc8ac6a06c9e
tree8a28254b60a2bd96cfbcb755cf256d82d55fb977
parent9b9ff6e458c55530b25b46cc0a7f47b174c86784
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