aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2006-09-22 04:58:40 -0400
committerJaroslav Kysela <perex@suse.cz>2006-09-23 04:48:21 -0400
commitdbf91dd47d90e1d91d5daf37ca30728f4e11c5e3 (patch)
tree9a018868f6500705f8d384ac0ff2a6d69814e3c6 /sound/pci
parent92b9ac78f934616d08c72747607bfb0fa51ee52d (diff)
[ALSA] ES1938: remove duplicate field initialization
Remove the duplicate and inconsistent initialization of the kcontrol access field. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/pci')
-rw-r--r--sound/pci/es1938.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/pci/es1938.c b/sound/pci/es1938.c
index 3784088bea84..3ce5a4e7e31f 100644
--- a/sound/pci/es1938.c
+++ b/sound/pci/es1938.c
@@ -1359,10 +1359,9 @@ ES1938_DOUBLE("Master Playback Switch", 0, 0x60, 0x62, 6, 6, 1, 1),
1359}, 1359},
1360{ 1360{
1361 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, 1361 .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
1362 .access = (SNDRV_CTL_ELEM_ACCESS_READWRITE | 1362 .access = (SNDRV_CTL_ELEM_ACCESS_READ |
1363 SNDRV_CTL_ELEM_ACCESS_TLV_READ), 1363 SNDRV_CTL_ELEM_ACCESS_TLV_READ),
1364 .name = "Hardware Master Playback Switch", 1364 .name = "Hardware Master Playback Switch",
1365 .access = SNDRV_CTL_ELEM_ACCESS_READ,
1366 .info = snd_es1938_info_hw_switch, 1365 .info = snd_es1938_info_hw_switch,
1367 .get = snd_es1938_get_hw_switch, 1366 .get = snd_es1938_get_hw_switch,
1368 .tlv = { .p = db_scale_master }, 1367 .tlv = { .p = db_scale_master },