diff options
author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2025-08-20 17:37:15 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-09-04 12:53:05 +0100 |
commit | f81e63047600d023cbfda372b6de8f2821ff6839 (patch) | |
tree | 123b3df5b0c791df50c7470ac0cc311d62455d16 /rust/helpers/bitmap.c | |
parent | 1b237f190eb3d36f52dffe07a40b5eb210280e00 (diff) |
ASoC: SDCA: Fix return value in sdca_regmap_mbq_size()
The MBQ size function returns an integer representing the size of a
Control. Currently if the Control is not found the function will return
false which makes little sense. Correct this typo to return -EINVAL.
Fixes: e3f7caf74b79 ("ASoC: SDCA: Add generic regmap SDCA helpers")
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Message-ID: <20250820163717.1095846-2-ckeepax@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'rust/helpers/bitmap.c')
0 files changed, 0 insertions, 0 deletions