This set of patches factors out some repeated code to clean up firmware control read/write functions, and removes some redundant control notification code. Simon Trimmer (5): firmware: cs_dsp: Add locked wrappers for coeff read and write ASoC: wm_adsp: Use cs_dsp_coeff_lock_and_[read|write]_ctrl() ALSA: hda: hda_cs_dsp_ctl: Use cs_dsp_coeff_lock_and_[read|write]_ctrl() ASoC: wm_adsp: Remove notification of driver write ALSA: hda: hda_cs_dsp_ctl: Remove notification of driver write drivers/firmware/cirrus/cs_dsp.c | 54 ++++++++++++++++++++++++++ include/linux/firmware/cirrus/cs_dsp.h | 4 ++ sound/pci/hda/hda_cs_dsp_ctl.c | 22 +---------- sound/soc/codecs/wm_adsp.c | 32 ++++----------- 4 files changed, 67 insertions(+), 45 deletions(-) -- 2.39.2
- Follow-Ups:
- Re: [PATCH 0/5] ALSA: cirrus: Tidy up of firmware control read/write
- From: Mark Brown
- Re: [PATCH 0/5] ALSA: cirrus: Tidy up of firmware control read/write
- From: Takashi Iwai
- [PATCH 3/5] ALSA: hda: hda_cs_dsp_ctl: Use cs_dsp_coeff_lock_and_[read|write]_ctrl()
- From: Richard Fitzgerald
- [PATCH 1/5] firmware: cs_dsp: Add locked wrappers for coeff read and write
- From: Richard Fitzgerald
- [PATCH 2/5] ASoC: wm_adsp: Use cs_dsp_coeff_lock_and_[read|write]_ctrl()
- From: Richard Fitzgerald
- [PATCH 5/5] ALSA: hda: hda_cs_dsp_ctl: Remove notification of driver write
- From: Richard Fitzgerald
- [PATCH 4/5] ASoC: wm_adsp: Remove notification of driver write
- From: Richard Fitzgerald
- Re: [PATCH 0/5] ALSA: cirrus: Tidy up of firmware control read/write
- Prev by Date: [PATCH 3/5] ALSA: hda: hda_cs_dsp_ctl: Use cs_dsp_coeff_lock_and_[read|write]_ctrl()
- Next by Date: [PATCH v2 1/1] ASoC: soc-jack: Get rid of legacy GPIO support
- Previous by thread: [PATCH v1 1/1] ASoC: fsl: imx-es8328: Remove leftover gpio initialisation
- Next by thread: [PATCH 4/5] ASoC: wm_adsp: Remove notification of driver write
- Index(es):