]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite6223bc7885d0e41c968257c3ea996ce3c1091d2
tree42465838d7072b36de4644acc11424dc3c97c7f3
parent752b575abedadbb210ab02c1c219e8ab35a41220
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