From: Timur Tabi Date: Mon, 10 Jan 2011 21:58:13 +0000 (-0600) Subject: ASoC: let snd_soc_update_bits() return an error code X-Git-Tag: v2.6.39-rc1~200^2^2~202 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=180c329d6b0db49687c88303e7f3754e7afdc3bf;p=pandora-kernel.git 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 Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- Reading git-diff-tree failed