[patch] Staging: tm6000: fix problem in alsa init

2010-06-17 Thread Dan Carpenter
The problem is that we never passed the idx parameter to tm6000_audio_init() so it's uninitialized. In fact, the struct tm6000_ops -init() definition didn't have idx as a parameter. When I added the parameter to tm6000_ops, I also added a parameter to the -fini() callback. fini() is just a stub

Re: [patch] Staging: tm6000: fix problem in alsa init

2010-06-17 Thread Bee Hock Goh
Dan, The lastest codes under the tm6000 branch created by Maruo have no reference to idx in tm6000_audio_init. Also if you use the latest tree, the audio extension is initiated. Only issue now is that the there is no continuous audio data. regards, Hock. On Thu, Jun 17, 2010 at 8:06 PM, Dan