ALSA: hda: hda_cs_dsp_ctl: Use cs_dsp_coeff_lock_and_[read|write]_ctrl()
authorSimon Trimmer <simont@opensource.cirrus.com>
Mon, 25 Mar 2024 11:31:25 +0000 (11:31 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 3 Apr 2024 15:10:29 +0000 (16:10 +0100)
commit62daf3df8a6b1920f7613e478935443a8f449708
treea30a56156feaafe2081ceb2c7b6a6b6ece50b30b
parent3802a9969bd365749f5e34928082cff96ed7769b
ALSA: hda: hda_cs_dsp_ctl: Use cs_dsp_coeff_lock_and_[read|write]_ctrl()

Using the cs_dsp_coeff_lock_and_[read|write]_ctrl() wrappers tidies
the calling functions as it does not need to manage the DSP pwr_lock.

Signed-off-by: Simon Trimmer <simont@opensource.cirrus.com>
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Link: https://msgid.link/r/20240325113127.112783-4-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/pci/hda/hda_cs_dsp_ctl.c