summaryrefslogtreecommitdiff
path: root/sound/pci/ice1712/wm8766.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-02-08 10:43:46 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2017-02-09 17:01:28 +1100
commit642b48932deeb6a7dc3b8e201132be350a61a26b (patch)
tree07bd68c6872c8f7b3b9ea72261c6534ffb4c1526 /sound/pci/ice1712/wm8766.c
parent234c4c3ebeeb9e5a542b0a11e162744ae5b83d3d (diff)
scripts/spelling.txt: add "an union" pattern and fix typo instances
Fix typos and add the following to the scripts/spelling.txt: an union||a union Link: http://lkml.kernel.org/r/1481573103-11329-5-git-send-email-yamada.masahiro@socionext.com Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'sound/pci/ice1712/wm8766.c')
-rw-r--r--sound/pci/ice1712/wm8766.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/ice1712/wm8766.c b/sound/pci/ice1712/wm8766.c
index f7ac8d5e862c..27c03e40c9b1 100644
--- a/sound/pci/ice1712/wm8766.c
+++ b/sound/pci/ice1712/wm8766.c
@@ -254,7 +254,7 @@ static int snd_wm8766_ctl_put(struct snd_kcontrol *kcontrol,
int n = kcontrol->private_value;
u16 val, regval1, regval2;
- /* this also works for enum because value is an union */
+ /* this also works for enum because value is a union */
regval1 = ucontrol->value.integer.value[0];
regval2 = ucontrol->value.integer.value[1];
if (wm->ctl[n].flags & WM8766_FLAG_INVERT) {