aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorDimitris Papastamos <[email protected]>2010-09-21 17:04:07 +0100
committerMark Brown <[email protected]>2010-09-22 16:48:50 +0100
commit391d8a04fc0f0d603642daa07f379e17c88001c9 (patch)
tree041b6bd448ada9513b8b7f8e9facaee4d07a5110 /net/lapb/lapb_iface.c
parent321de0d05a4bbe0ee74d473e00d7947851bf5284 (diff)
ASoC: Return -1 instead of -EINVAL to ensure consistency
The code can't really cope with I/O errors, so it would be better to be consistent throughout all cache functions and return -1 instead of -EINVAL. The return value of snd_soc_read(...) is mostly checked in the probe function and nowhere else. Signed-off-by: Dimitris Papastamos <[email protected]> Acked-by: Liam Girdwood <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions