diff options
author | Simon Trimmer <simont@opensource.cirrus.com> | 2024-03-25 11:31:23 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-04-03 16:10:27 +0100 |
commit | 4d0333798ebbfa1683cc3bc056d1b25b8c24344c (patch) | |
tree | 13e12cd19701428123883f00814844c4689438d8 /ipc/util.c | |
parent | f193957b0fbbba397c8bddedf158b3bf7e4850fc (diff) | |
download | linux-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