Hi,
here is a series of patches I hacked quickly after merging line6 stuff into sound git tree. There are two significant changes:
- Split to each driver and renames: now there are 4 card modules, snd-usb-pod, snd-usb-podhd, snd-usb-toneport and snd-usb-variax, while snd-usb-line6 serves as a common helper module.
- Many codes restrucruring, especially cleanup of the resource management; the destructor is solely called from card's private_free now
The current merged code is found in topic/line6 branch of sound.git tree while this development code is found in test/line6 branch. The devel branch hasn't been merged to linux-next yet, I'm waiting for any good/bad test results. So, give me any feedback. Thanks!
(BTW, the next step would be to straighten the init code in pod.c, etc instead of (ab)using the system timer. Instead, it should be a flat function with wait_event() of such.)
Takashi