Commit f643373
ASoC: SDCA: Fix return value in sdca_regmap_mbq_size()
[ Upstream commit f81e630 ]
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: e3f7caf ("ASoC: SDCA: Add generic regmap SDCA helpers")
Signed-off-by: Charles Keepax <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>1 parent 9ff967d commit f643373
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
199 | | - | |
| 199 | + | |
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| |||
0 commit comments