aboutsummaryrefslogtreecommitdiffstats
path: root/sound/i2c/other/ak4xxx-adda.c
diff options
context:
space:
mode:
authorPavel Hofman <dustin@seznam.cz>2007-12-03 06:44:28 -0500
committerJaroslav Kysela <perex@perex.cz>2008-01-31 11:29:30 -0500
commit6632d64b0b596b9588b607806ac6d36c8c2c9696 (patch)
tree0e8126af6c2c47e2b981c7ab7d8cf29aaaee8360 /sound/i2c/other/ak4xxx-adda.c
parentacec30ffffe1eee07e3202cff03e7ca8350d250f (diff)
[ALSA] switching rate in STAC9460 codec of Prodigy192
* support for switching rate in STAC9460 - using set_rate_val of the akm infrastructure * listing all STAC9460 registers in proc * disabling mpu401 device for Prodigy192 - otherwise the currently flawed mpu401 code hangs kernel when opening the midi device * removing old unused commented-out code Signed-off-by: Pavel Hofman <dustin@seznam.cz> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/i2c/other/ak4xxx-adda.c')
-rw-r--r--sound/i2c/other/ak4xxx-adda.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/i2c/other/ak4xxx-adda.c b/sound/i2c/other/ak4xxx-adda.c
index 39bb03add7e1..fefa1ae57ad9 100644
--- a/sound/i2c/other/ak4xxx-adda.c
+++ b/sound/i2c/other/ak4xxx-adda.c
@@ -293,6 +293,11 @@ void snd_akm4xxx_init(struct snd_akm4xxx *ak)
293 case SND_AK5365: 293 case SND_AK5365:
294 /* FIXME: any init sequence? */ 294 /* FIXME: any init sequence? */
295 return; 295 return;
296 case NON_AKM:
297 /* fake value for non-akm codecs using akm infrastructure
298 * (e.g. of ice1724) - certainly FIXME
299 */
300 return;
296 default: 301 default:
297 snd_BUG(); 302 snd_BUG();
298 return; 303 return;