diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2006-11-06 03:20:04 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2007-02-09 03:01:15 -0500 |
commit | 59540fe85924ecb7b9760ab422cffaea0c3ce43a (patch) | |
tree | fea82b025e8860b39c1e2ee0930c3eb3f595f95b /sound/isa/wavefront/wavefront.c | |
parent | de66d53e46f39de6ea3261609fdb92900bb34a42 (diff) |
[ALSA] wavefront: simplify YSS225 register initialization
Instead of using a somewhat algorithmic approach of initializing the
YSS225's registers, just use a simple series of port/value pairs.
This makes it easier to later replace or entirely remove the register
data blob.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/isa/wavefront/wavefront.c')
-rw-r--r-- | sound/isa/wavefront/wavefront.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/isa/wavefront/wavefront.c b/sound/isa/wavefront/wavefront.c index 85db535aea9b..e2fdd5fd39d0 100644 --- a/sound/isa/wavefront/wavefront.c +++ b/sound/isa/wavefront/wavefront.c | |||
@@ -402,6 +402,7 @@ static struct snd_card *snd_wavefront_card_new(int dev) | |||
402 | init_waitqueue_head(&acard->wavefront.interrupt_sleeper); | 402 | init_waitqueue_head(&acard->wavefront.interrupt_sleeper); |
403 | spin_lock_init(&acard->wavefront.midi.open); | 403 | spin_lock_init(&acard->wavefront.midi.open); |
404 | spin_lock_init(&acard->wavefront.midi.virtual); | 404 | spin_lock_init(&acard->wavefront.midi.virtual); |
405 | acard->wavefront.card = card; | ||
405 | card->private_free = snd_wavefront_free; | 406 | card->private_free = snd_wavefront_free; |
406 | 407 | ||
407 | return card; | 408 | return card; |