.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /*************************************************************************** |
---|
2 | 3 | msnd_pinnacle_mixer.c - description |
---|
3 | 4 | ------------------- |
---|
.. | .. |
---|
8 | 9 | |
---|
9 | 10 | /*************************************************************************** |
---|
10 | 11 | * * |
---|
11 | | - * This program is free software; you can redistribute it and/or modify * |
---|
12 | | - * it under the terms of the GNU General Public License as published by * |
---|
13 | | - * the Free Software Foundation; either version 2 of the License, or * |
---|
14 | | - * (at your option) any later version. * |
---|
15 | 12 | * * |
---|
16 | 13 | ***************************************************************************/ |
---|
17 | 14 | |
---|
.. | .. |
---|
222 | 219 | case MSND_MIXER_VOLUME: /* master volume */ |
---|
223 | 220 | writew(wLeft, dev->SMA + SMA_wCurrMastVolLeft); |
---|
224 | 221 | writew(wRight, dev->SMA + SMA_wCurrMastVolRight); |
---|
225 | | - /* fall through */ |
---|
226 | | - |
---|
| 222 | + fallthrough; |
---|
227 | 223 | case MSND_MIXER_AUX: /* aux pot control */ |
---|
228 | 224 | /* scaled by master volume */ |
---|
229 | | - /* fall through */ |
---|
230 | 225 | |
---|
231 | 226 | /* digital controls */ |
---|
232 | 227 | case MSND_MIXER_SYNTH: /* synth vol (dsp mix) */ |
---|
.. | .. |
---|
278 | 273 | .private_value = addr } |
---|
279 | 274 | |
---|
280 | 275 | |
---|
281 | | -static struct snd_kcontrol_new snd_msnd_controls[] = { |
---|
| 276 | +static const struct snd_kcontrol_new snd_msnd_controls[] = { |
---|
282 | 277 | DUMMY_VOLUME("Master Volume", 0, MSND_MIXER_VOLUME), |
---|
283 | 278 | DUMMY_VOLUME("PCM Volume", 0, MSND_MIXER_PCM), |
---|
284 | 279 | DUMMY_VOLUME("Aux Volume", 0, MSND_MIXER_AUX), |
---|