diff options
author | Mark Brown <[email protected]> | 2022-06-03 13:50:03 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-06-06 12:31:28 +0100 |
commit | 2abdf9f80019e8244d3806ed0e1c9f725e50b452 (patch) | |
tree | a4afb50486a5a0162b6b8affa30eaa5fec100d19 /include/linux/fpga/fpga-mgr.h | |
parent | 8259610c2ec01c5cbfb61882ae176aabacac9c19 (diff) |
ASoC: wm_adsp: Fix event generation for wm_adsp_fw_put()
Currently wm_adsp_fw_put() returns 0 rather than 1 when updating the value
of the control, meaning that no event is generated to userspace. Fix this
by setting the default return value to 1, the code already exits early with
a return value of 0 if the value is unchanged.
Signed-off-by: Mark Brown <[email protected]>
Reviewed-by: Richard Fitzgerald <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions