summaryrefslogtreecommitdiffstats
path: root/ipc/util.c
diff options
context:
space:
mode:
authorSimon Trimmer <simont@opensource.cirrus.com>2024-03-25 11:31:23 +0000
committerMark Brown <broonie@kernel.org>2024-04-03 16:10:27 +0100
commit4d0333798ebbfa1683cc3bc056d1b25b8c24344c (patch)
tree13e12cd19701428123883f00814844c4689438d8 /ipc/util.c
parentf193957b0fbbba397c8bddedf158b3bf7e4850fc (diff)
downloadlinux-stable-4d0333798ebbfa1683cc3bc056d1b25b8c24344c.tar.gz
linux-stable-4d0333798ebbfa1683cc3bc056d1b25b8c24344c.tar.bz2
linux-stable-4d0333798ebbfa1683cc3bc056d1b25b8c24344c.zip
firmware: cs_dsp: Add locked wrappers for coeff read and write
It is a common pattern for functions to take and release the DSP pwr_lock over the cs_dsp calls to read and write firmware controls. Add wrapper functions to do this sequence so that the calling code can be simplified to a single function call.. 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-2-rf@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'ipc/util.c')
0 files changed, 0 insertions, 0 deletions