forked fromtorvalds/linux
- Notifications
You must be signed in to change notification settings - Fork0
Commitd7012df
speakup: Fix var_id_t values and thus keymap
commitd97a9d7 ("staging/speakup: Add inflection synth parameter")introduced a new "inflection" speakup parameter next to "pitch", butthe values of the var_id_t enum are actually used by the keymap tablesso we must not renumber them. The effect was that notably the volumecontrol shortcut (speakup-1 or 2) was actually changing the inflection.This moves the INFLECTION value at the end of the var_id_t enum tofix back the enum values. This also adds a warning about it.Fixes:d97a9d7 ("staging/speakup: Add inflection synth parameter")Cc: stable@vger.kernel.orgReported-by: Kirk Reiser <kirk@reisers.ca>Reported-by: Gregory Nowak <greg@gregn.net>Tested-by: Gregory Nowak <greg@gregn.net>Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>Link:https://lore.kernel.org/r/20201012160646.qmdo4eqtj24hpch4@functionSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent9d516aa commitd7012df
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
35 | 39 | | |
36 | 40 | | |
37 | 41 | | |
| |||
42 | 46 | | |
43 | 47 | | |
44 | 48 | | |
45 | | - | |
| 49 | + | |
46 | 50 | | |
47 | | - | |
| 51 | + | |
48 | 52 | | |
49 | 53 | | |
50 | 54 | | |
| |||
0 commit comments
Comments
(0)