diff options
author | Andreas Mohr <andi@lisas.de> | 2006-03-28 12:56:14 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-03-31 17:59:00 +0200 |
commit | 0b2dcd5d6a9a3e27fdd67053e526388f9f2ea33b (patch) | |
tree | d380fb45aa120b2499aa03753717f3ecbf0ad099 /sound/usb/usbmixer.c | |
parent | a1e8d2da03b3a1017aab01d49666ec9b67927de5 (diff) | |
download | op-kernel-dev-0b2dcd5d6a9a3e27fdd67053e526388f9f2ea33b.zip op-kernel-dev-0b2dcd5d6a9a3e27fdd67053e526388f9f2ea33b.tar.gz |
[ALSA] maestro3.c: fix BUG, optimization
- fix brown-paper-bag locking bug (lock() / return / unlock())
- improve central function snd_m3_update_ptr()
(avoid expensive integer divisions)
- add cpu_relax() to busy-wait I/O loop as recommended
(does this require special macro support in ALSA for older kernels??)
- constify several structs
- spelling updates
Signed-off-by: Andreas Mohr <andi@lisas.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/usbmixer.c')
0 files changed, 0 insertions, 0 deletions