diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2006-11-06 09:20:04 +0100 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2007-02-09 09:01:15 +0100 |
commit | 59540fe85924ecb7b9760ab422cffaea0c3ce43a (patch) | |
tree | fea82b025e8860b39c1e2ee0930c3eb3f595f95b /include | |
parent | de66d53e46f39de6ea3261609fdb92900bb34a42 (diff) | |
download | linux-3.10-59540fe85924ecb7b9760ab422cffaea0c3ce43a.tar.gz linux-3.10-59540fe85924ecb7b9760ab422cffaea0c3ce43a.tar.bz2 linux-3.10-59540fe85924ecb7b9760ab422cffaea0c3ce43a.zip |
[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 'include')
-rw-r--r-- | include/sound/snd_wavefront.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/snd_wavefront.h b/include/sound/snd_wavefront.h index 0b9e5de94ff..9688d4be918 100644 --- a/include/sound/snd_wavefront.h +++ b/include/sound/snd_wavefront.h @@ -85,6 +85,7 @@ struct _snd_wavefront { char hw_version[2]; /* major = [0], minor = [1] */ char israw; /* needs Motorola microcode */ char has_fx; /* has FX processor (Tropez+) */ + char fx_initialized; /* FX's register pages initialized */ char prog_status[WF_MAX_PROGRAM]; /* WF_SLOT_* */ char patch_status[WF_MAX_PATCH]; /* WF_SLOT_* */ char sample_status[WF_MAX_SAMPLE]; /* WF_ST_* | WF_SLOT_* */ @@ -94,6 +95,7 @@ struct _snd_wavefront { spinlock_t irq_lock; wait_queue_head_t interrupt_sleeper; snd_wavefront_midi_t midi; /* ICS2115 MIDI interface */ + struct snd_card *card; }; struct _snd_wavefront_card { |