Commit 7ceefe99 authored by Rob Weryk's avatar Rob Weryk Committed by Linus Torvalds

[PATCH] Fix ALSA emu10k1 bass control

This trivial patch fixes a mixer problem with the emu10k1 driver in
ALSA.  In sound/pci/emu10k1/emufx.c, the line

static const u32 bass_table[41][5] = {

only has 40 lines defined, instead of 41.  This results in no sound
output when the bass control is set at 100% (but works fine at 98%) I
added the missing line, which is present in the OSS emu10k1 driver.
parent eec8c097
......@@ -196,6 +196,7 @@ static const u32 bass_table[41][5] = {
{ 0x3fc5a1cc, 0x82df2592, 0x3d6475c3, 0x7d1ef294, 0xc2d40096 },
{ 0x3fd91f55, 0x82ca6632, 0x3d664564, 0x7d345541, 0xc2bf56b9 },
{ 0x3fec9120, 0x82b67cac, 0x3d675356, 0x7d48e138, 0xc2ab796e },
{ 0x40000000, 0x82a36037, 0x3d67a012, 0x7d5c9fc9, 0xc2985fee },
{ 0x401374c7, 0x8291088a, 0x3d672b93, 0x7d6f99c3, 0xc28601f2 },
{ 0x4026f857, 0x827f6dd7, 0x3d65f559, 0x7d81d77c, 0xc27457a3 },
{ 0x403a939f, 0x826e88c5, 0x3d63fc63, 0x7d9360d4, 0xc2635996 },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment