Skip to content

Commit

Permalink
[ALSA] Fix compile warnings in ak4xxx-adda.c
Browse files Browse the repository at this point in the history
Fixed compile warnings in ak4xxx-adda.c reagarding missing
enum cases in switch.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
  • Loading branch information
Takashi Iwai authored and Jaroslav Kysela committed Sep 23, 2006
1 parent 30ba6e2 commit cf93907
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sound/i2c/other/ak4xxx-adda.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ void snd_akm4xxx_reset(struct snd_akm4xxx *ak, int state)
case SND_AK4381:
ak4381_reset(ak, state);
break;
default:
break;
}
}

Expand Down Expand Up @@ -727,6 +729,9 @@ int snd_akm4xxx_build_controls(struct snd_akm4xxx *ak)
case SND_AK4381:
ctl->private_value = AK_COMPOSE(idx, 1, 1, 0);
break;
default:
err = -EINVAL;
goto __error;
}
ctl->private_data = ak;
err = snd_ctl_add(ak->card,
Expand Down

0 comments on commit cf93907

Please sign in to comment.