diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2008-09-22 03:02:08 -0400 |
---|---|---|
committer | Clemens Ladisch <clemens@ladisch.de> | 2008-09-22 03:02:08 -0400 |
commit | d76596b1ee7f5cdbd0b73d374ba72372a2c8b725 (patch) | |
tree | 8ecb3fde83a1eb3c67efcb99c90ad993731ed479 /sound/pci/oxygen/virtuoso.c | |
parent | c3f00739c5e45b4bf6f759172a5318256b92f2b2 (diff) |
ALSA: oxygen: rename pcm_dev_cfg
Rename the pcm_dev_cfg field to device_config because there will be
additional flags that do not describe PCM devices.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Diffstat (limited to 'sound/pci/oxygen/virtuoso.c')
-rw-r--r-- | sound/pci/oxygen/virtuoso.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sound/pci/oxygen/virtuoso.c b/sound/pci/oxygen/virtuoso.c index 34baff19ad36..f416e68338e2 100644 --- a/sound/pci/oxygen/virtuoso.c +++ b/sound/pci/oxygen/virtuoso.c | |||
@@ -566,10 +566,10 @@ static const struct oxygen_model model_xonar_d2 = { | |||
566 | .update_dac_mute = update_pcm1796_mute, | 566 | .update_dac_mute = update_pcm1796_mute, |
567 | .dac_tlv = pcm1796_db_scale, | 567 | .dac_tlv = pcm1796_db_scale, |
568 | .model_data_size = sizeof(struct xonar_data), | 568 | .model_data_size = sizeof(struct xonar_data), |
569 | .pcm_dev_cfg = PLAYBACK_0_TO_I2S | | 569 | .device_config = PLAYBACK_0_TO_I2S | |
570 | PLAYBACK_1_TO_SPDIF | | 570 | PLAYBACK_1_TO_SPDIF | |
571 | CAPTURE_0_FROM_I2S_2 | | 571 | CAPTURE_0_FROM_I2S_2 | |
572 | CAPTURE_1_FROM_SPDIF, | 572 | CAPTURE_1_FROM_SPDIF, |
573 | .dac_channels = 8, | 573 | .dac_channels = 8, |
574 | .dac_volume_min = 0x0f, | 574 | .dac_volume_min = 0x0f, |
575 | .dac_volume_max = 0xff, | 575 | .dac_volume_max = 0xff, |
@@ -598,9 +598,9 @@ static const struct oxygen_model model_xonar_d1 = { | |||
598 | .ac97_switch = xonar_d1_ac97_switch, | 598 | .ac97_switch = xonar_d1_ac97_switch, |
599 | .dac_tlv = cs4362a_db_scale, | 599 | .dac_tlv = cs4362a_db_scale, |
600 | .model_data_size = sizeof(struct xonar_data), | 600 | .model_data_size = sizeof(struct xonar_data), |
601 | .pcm_dev_cfg = PLAYBACK_0_TO_I2S | | 601 | .device_config = PLAYBACK_0_TO_I2S | |
602 | PLAYBACK_1_TO_SPDIF | | 602 | PLAYBACK_1_TO_SPDIF | |
603 | CAPTURE_0_FROM_I2S_2, | 603 | CAPTURE_0_FROM_I2S_2, |
604 | .dac_channels = 8, | 604 | .dac_channels = 8, |
605 | .dac_volume_min = 0, | 605 | .dac_volume_min = 0, |
606 | .dac_volume_max = 127, | 606 | .dac_volume_max = 127, |