firmware: cs_dsp: Add lockdep asserts to interface functions
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Wed, 17 Nov 2021 13:22:52 +0000 (13:22 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 17 Nov 2021 22:16:20 +0000 (22:16 +0000)
commit5065cfabec21a4acf562932f1d0a814c119e0a69
treeceafe9c129e078f303ee7f7643ef99357eff9bc7
parent56717d72f7a811799e8d138ff3d49325272c5cf6
firmware: cs_dsp: Add lockdep asserts to interface functions

Some of the control functions exposed by the cs_dsp code require the
pwr_lock to be held by the caller. Add lockdep_assert_held calls to
ensure this is done correctly.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20211117132300.1290-2-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/firmware/cirrus/cs_dsp.c