[ALSA] ak4114 - Fix possible Oops with callbacks
authorTakashi Iwai <tiwai@suse.de>
Fri, 30 Mar 2007 13:38:39 +0000 (15:38 +0200)
committerJaroslav Kysela <perex@suse.cz>
Fri, 11 May 2007 14:55:55 +0000 (16:55 +0200)
commit51354ae3b8fdbeaf96e23ddf787432a38eba31f5
treebcc9b700ca83c5e874ce02f206775630b452f047
parenta971c3d42524afc5619fa271d59d29be3c1661e3
[ALSA] ak4114 - Fix possible Oops with callbacks

ak4114 code may trigger Oops when the parameters are changed without
call of snd_ak4114_build().  Now it checks the existence of kctl
element, and the workq is triggered after building the necessary
kcontrols.
Also, did some code clean up.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/i2c/other/ak4114.c
sound/pci/ice1712/juli.c