summaryrefslogtreecommitdiff
path: root/rust/helpers/workqueue.c
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2025-09-02 09:32:13 +0100
committerMark Brown <broonie@kernel.org>2025-09-02 11:23:46 +0100
commit3279052eab235bfb7130b1fabc74029c2260ed8d (patch)
tree53e35c33a4d386080093b491bc27e9c0fafdde68 /rust/helpers/workqueue.c
parent9b7892eaadcd12eacecd90e52c96c35616d747ce (diff)
ASoC: SOF: ipc4-topology: Fix a less than zero check on a u32
Currently the error check from the call to sof_ipc4_get_sample_type is always false because a u32 variable out_ref_type is being used to perform the less than zero check. Fix this by using the int variable ret to perform the check. Fixes: c04c2e829649 ("ASoC: SOF: ipc4-topology: Add support for 8-bit formats") Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Acked-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com> Link: https://patch.msgid.link/20250902083213.2620124-1-colin.i.king@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions