diff options
| author | Axel Lin <[email protected]> | 2011-09-03 13:41:47 +0800 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2011-09-04 08:53:39 -0700 |
| commit | 7b4615ba8108649ed30804450eb054925e347ad3 (patch) | |
| tree | 219fb27c95e59605767d856a009b42596f184ae2 /include/linux/debugobjects.h | |
| parent | efd614ac067a30b5541640e89d08f7afa7601f24 (diff) | |
ASoC: sn95031: Fix the logic to find free channel
In the case of no free channel available,
current implementation returns 0 instead of negative errno.
This patch fixes the logic to return -EINVAL if no free channel available.
Signed-off-by: Axel Lin <[email protected]>
Acked-by: Vinod Koul <[email protected]>
Acked-by: Liam Girdwood <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions