diff options
| author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2025-08-20 17:37:15 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-09-25 11:16:51 +0200 |
| commit | f6433733326b0e338ad97a136675e401018eda02 (patch) | |
| tree | 8a83a86154e5e1f5b235a5347f369c99b4298af4 /include/net/aligned_data.h | |
| parent | 9ff967d7e8d941bd7f91635a32ff065b35970ec0 (diff) | |
ASoC: SDCA: Fix return value in sdca_regmap_mbq_size()
[ Upstream commit f81e63047600d023cbfda372b6de8f2821ff6839 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions
