ASoC: Optimize switch/case in magician.c
authorTakashi Iwai <tiwai@suse.de>
Fri, 15 May 2009 10:20:52 +0000 (12:20 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 15 May 2009 10:20:52 +0000 (12:20 +0200)
commit2bf2778e0fb38255e55ab5e10022132b0a72420e
tree42465838d7072b36de4644acc11424dc3c97c7f3
parent2baaec28068d07db3d4ae6ba885fa07255b2ad79
ASoC: Optimize switch/case in magician.c

Use default to optimize the switch/case in magicial_playback_hw_params(),
which also fixes the compile warnings below:
  sound/soc/pxa/magician.c:89: warning: 'acds' may be used uninitialized in this function
  sound/soc/pxa/magician.c:89: warning: 'acps' may be used uninitialized in this function

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/pxa/magician.c