pontis.c (75bf465f0bc33e9b776a46d6a1b9b990f5fb7c37) pontis.c (b4e5e70775546480035e156b40040e5d0d4264d1)
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * ALSA driver for ICEnsemble VT1724 (Envy24HT)
4 *
5 * Lowlevel functions for Pontis MS300
6 *
7 * Copyright (c) 2004 Takashi Iwai <tiwai@suse.de>
8 */

--- 515 unchanged lines hidden (view full) ---

524}
525
526static const DECLARE_TLV_DB_SCALE(db_scale_volume, -6400, 50, 1);
527
528/*
529 * mixers
530 */
531
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * ALSA driver for ICEnsemble VT1724 (Envy24HT)
4 *
5 * Lowlevel functions for Pontis MS300
6 *
7 * Copyright (c) 2004 Takashi Iwai <tiwai@suse.de>
8 */

--- 515 unchanged lines hidden (view full) ---

524}
525
526static const DECLARE_TLV_DB_SCALE(db_scale_volume, -6400, 50, 1);
527
528/*
529 * mixers
530 */
531
532static struct snd_kcontrol_new pontis_controls[] = {
532static const struct snd_kcontrol_new pontis_controls[] = {
533 {
534 .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
535 .access = (SNDRV_CTL_ELEM_ACCESS_READWRITE |
536 SNDRV_CTL_ELEM_ACCESS_TLV_READ),
537 .name = "PCM Playback Volume",
538 .info = wm_dac_vol_info,
539 .get = wm_dac_vol_get,
540 .put = wm_dac_vol_put,

--- 269 unchanged lines hidden ---
533 {
534 .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
535 .access = (SNDRV_CTL_ELEM_ACCESS_READWRITE |
536 SNDRV_CTL_ELEM_ACCESS_TLV_READ),
537 .name = "PCM Playback Volume",
538 .info = wm_dac_vol_info,
539 .get = wm_dac_vol_get,
540 .put = wm_dac_vol_put,

--- 269 unchanged lines hidden ---