Skip to contentSkip to conversation

cs46xx SMP fixes.

PATCH New Benny Sjostrand 1 participant 1 message Aug 21, 2002

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cs46xx SMP fixes.

Hi!

Until now it seems like the new cs46xx driver have been broken on SMP machines, so with this patch it hopefully work again. The only bad thing is that I dont have any SMP machine (however I would like to have), so I cant test it out.
This patch is reported to work at least by one SMP user. It would be great if there any other SMP owners with a cs46xx soudcard that would like to help testing the cs46xx driver.

This patch included:
- Fix for a missplaced spin_lock: in cs46xx_playback_trigger(...) spin_lock(..) was called twice, first in cs46xx_playback_trigger(...) then in cs46xx_dsp_pcm_link(...)
causing a hang.
- Changed the "semaphore" aproach, I believe that it's easier solved now and code is cleaner.

/Benny