diff options
author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2021-11-17 13:23:00 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-11-17 22:16:28 +0000 |
commit | 5c903f64ce97172d63f7591cfa9e37cba58867b2 (patch) | |
tree | 2e9b5c52d8f167a51cf1a68043d14e7c1fc761fb /drivers | |
parent | f444da38ac924748de696c393327a44c4b8d727e (diff) | |
download | linux-stable-5c903f64ce97172d63f7591cfa9e37cba58867b2.tar.gz linux-stable-5c903f64ce97172d63f7591cfa9e37cba58867b2.tar.bz2 linux-stable-5c903f64ce97172d63f7591cfa9e37cba58867b2.zip |
firmware: cs_dsp: Allow creation of event controls
Some firmwares contain controls intended to convey firmware state back
to the host. Whilst more infrastructure will probably be needed for
these in time, as a first step allow creation of the controls, so said
firmwares arn't completely rejected.
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20211117132300.1290-10-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/firmware/cirrus/cs_dsp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/firmware/cirrus/cs_dsp.c b/drivers/firmware/cirrus/cs_dsp.c index 5fe08de91ecd..3814cbba0a54 100644 --- a/drivers/firmware/cirrus/cs_dsp.c +++ b/drivers/firmware/cirrus/cs_dsp.c @@ -1177,6 +1177,7 @@ static int cs_dsp_parse_coeff(struct cs_dsp *dsp, return -EINVAL; break; case WMFW_CTL_TYPE_HOSTEVENT: + case WMFW_CTL_TYPE_FWEVENT: ret = cs_dsp_check_coeff_flags(dsp, &coeff_blk, WMFW_CTL_FLAG_SYS | WMFW_CTL_FLAG_VOLATILE | |