diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-02-02 21:51:52 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-02-02 21:51:52 -0500 |
commit | 33052057e3e2db7f37fc78aa3f25c98f7e989fae (patch) | |
tree | e80a3aa1371f513c833dc94a16674f78faeeeb1d /sound/pci/ymfpci/ymfpci_main.c | |
parent | 00b464debf0038b1628996065f0be564ccfbfd86 (diff) | |
parent | 1113a7e92e483074c6235da59460759e33b9b144 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'sound/pci/ymfpci/ymfpci_main.c')
-rw-r--r-- | sound/pci/ymfpci/ymfpci_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/ymfpci/ymfpci_main.c b/sound/pci/ymfpci/ymfpci_main.c index 1dfc7233c6a8..a1aa74b79b3d 100644 --- a/sound/pci/ymfpci/ymfpci_main.c +++ b/sound/pci/ymfpci/ymfpci_main.c | |||
@@ -1229,6 +1229,7 @@ static int snd_ymfpci_spdif_default_get(struct snd_kcontrol *kcontrol, | |||
1229 | spin_lock_irq(&chip->reg_lock); | 1229 | spin_lock_irq(&chip->reg_lock); |
1230 | ucontrol->value.iec958.status[0] = (chip->spdif_bits >> 0) & 0xff; | 1230 | ucontrol->value.iec958.status[0] = (chip->spdif_bits >> 0) & 0xff; |
1231 | ucontrol->value.iec958.status[1] = (chip->spdif_bits >> 8) & 0xff; | 1231 | ucontrol->value.iec958.status[1] = (chip->spdif_bits >> 8) & 0xff; |
1232 | ucontrol->value.iec958.status[3] = IEC958_AES3_CON_FS_48000; | ||
1232 | spin_unlock_irq(&chip->reg_lock); | 1233 | spin_unlock_irq(&chip->reg_lock); |
1233 | return 0; | 1234 | return 0; |
1234 | } | 1235 | } |
@@ -1303,6 +1304,7 @@ static int snd_ymfpci_spdif_stream_get(struct snd_kcontrol *kcontrol, | |||
1303 | spin_lock_irq(&chip->reg_lock); | 1304 | spin_lock_irq(&chip->reg_lock); |
1304 | ucontrol->value.iec958.status[0] = (chip->spdif_pcm_bits >> 0) & 0xff; | 1305 | ucontrol->value.iec958.status[0] = (chip->spdif_pcm_bits >> 0) & 0xff; |
1305 | ucontrol->value.iec958.status[1] = (chip->spdif_pcm_bits >> 8) & 0xff; | 1306 | ucontrol->value.iec958.status[1] = (chip->spdif_pcm_bits >> 8) & 0xff; |
1307 | ucontrol->value.iec958.status[3] = IEC958_AES3_CON_FS_48000; | ||
1306 | spin_unlock_irq(&chip->reg_lock); | 1308 | spin_unlock_irq(&chip->reg_lock); |
1307 | return 0; | 1309 | return 0; |
1308 | } | 1310 | } |