[ALSA] SOC: fix tests in cs4270_hw_params()
commite34ba212225a27cdf5f974be22cc539ae7ee7ca5
authorRoel Kluin <12o3l@tiscali.nl>
Thu, 17 Apr 2008 16:58:34 +0000 (17 18:58 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 24 Apr 2008 10:00:39 +0000 (24 12:00 +0200)
treeadce7eca2f8f8ec181b95ae3ec10b21d5b96659f
parent9eb70e68f38bbc5996a2193e7b7dc0b5487a08cb
[ALSA] SOC: fix tests in cs4270_hw_params()

cs4270_hw_params does several times:

ret = snd_soc_write()
if (ret < 0)
...

This only works when ret is signed.

Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/codecs/cs4270.c