Commit e7b90940 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] cs46xx minor fixes

- jiffies signedness fix

- Fix compile warning
parent a85829fd
...@@ -1941,7 +1941,8 @@ static int snd_cs46xx_iec958_put(snd_kcontrol_t *kcontrol, ...@@ -1941,7 +1941,8 @@ static int snd_cs46xx_iec958_put(snd_kcontrol_t *kcontrol,
res = (change != chip->dsp_spos_instance->spdif_status_in); res = (change != chip->dsp_spos_instance->spdif_status_in);
break; break;
default: default:
snd_assert(0, return -EINVAL); res = -EINVAL;
snd_assert(0, (void)0);
} }
return res; return res;
...@@ -2365,7 +2366,7 @@ static snd_kcontrol_new_t snd_hercules_controls[] __devinitdata = { ...@@ -2365,7 +2366,7 @@ static snd_kcontrol_new_t snd_hercules_controls[] __devinitdata = {
static void snd_cs46xx_sec_codec_reset (ac97_t * ac97) static void snd_cs46xx_sec_codec_reset (ac97_t * ac97)
{ {
signed long end_time; unsigned long end_time;
int err; int err;
/* reset to defaults */ /* reset to defaults */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment