diff options
author | Srinivas Kandagatla <[email protected]> | 2021-11-16 11:46:22 +0000 |
---|---|---|
committer | Mark Brown <[email protected]> | 2021-11-16 14:29:52 +0000 |
commit | 006ea27c4e7037369085755c7b5389effa508c04 (patch) | |
tree | ff1a666f1baf0c32efbc8824b5c9008023fdc2e8 /net/lapb/lapb_timer.c | |
parent | ea157c2ba821dab789a544cd9fbe44dc07036ff8 (diff) |
ASoC: codecs: wcd934x: return error code correctly from hw_params
Error returned from wcd934x_slim_set_hw_params() are not passed to upper layer,
this could be misleading to the user which can start sending stream leading
to unnecessary errors.
Fix this by properly returning the errors.
Fixes: a61f3b4f476e ("ASoC: wcd934x: add support to wcd9340/wcd9341 codec")
Signed-off-by: Srinivas Kandagatla <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions