summaryrefslogtreecommitdiffstats
path: root/sound/soc/samsung/dma.c
diff options
context:
space:
mode:
authorTimur Tabi2011-01-10 22:58:13 +0100
committerMark Brown2011-01-11 12:04:07 +0100
commit180c329d6b0db49687c88303e7f3754e7afdc3bf (patch)
tree9191736f71c899ac928c64f897e70181040ba4cc /sound/soc/samsung/dma.c
parentASoC: WM8995: Remember to flush the cache on resume (diff)
downloadkernel-qcow2-linux-180c329d6b0db49687c88303e7f3754e7afdc3bf.tar.gz
kernel-qcow2-linux-180c329d6b0db49687c88303e7f3754e7afdc3bf.tar.xz
kernel-qcow2-linux-180c329d6b0db49687c88303e7f3754e7afdc3bf.zip
ASoC: let snd_soc_update_bits() return an error code
Update snd_soc_update_bits() so that it returns a negative error code if the the read or write operation fails. Note that currently, a lot of the lower-level read functions have an unsigned integer return type (and some of them even try to return a negative number), but this code still appears to work in those cases. An examination of the code shows that all current callers are compatible with this change. Signed-off-by: Timur Tabi <timur@freescale.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/samsung/dma.c')
0 files changed, 0 insertions, 0 deletions