author | Joonyoung Shim <jy0922.shim@samsung.com> | |
Tue, 26 Mar 2013 05:41:05 +0000 (14:41 +0900) | ||
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | |
Wed, 17 Apr 2013 04:48:27 +0000 (21:48 -0700) | ||
commit | 8047d57ee07e9cd7f4899c1f7961f8d73faa24c8 | |
tree | eca7cfc94e6cc7885ce0f34a3a5043d4d2600f1d | tree | snapshot (tar.xz tar.gz zip) |
parent | 958ccdb1e6c60c9a1553963a6d7311683cd0cccc | commit | diff |
ASoC: core: Fix to check return value of snd_soc_update_bits_locked()
commit 0eaa6cca1f75e12e4f5ec62cbe887330fe3b5fe9 upstream.
It can be 0 or 1 return value of snd_soc_update_bits_locked() when it is
success. So just check return value is negative.
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
commit 0eaa6cca1f75e12e4f5ec62cbe887330fe3b5fe9 upstream.
It can be 0 or 1 return value of snd_soc_update_bits_locked() when it is
success. So just check return value is negative.
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/soc-core.c | diff | blob | history |