aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-08-30 10:57:38 -0400
committerTakashi Iwai <tiwai@suse.de>2012-08-30 10:57:38 -0400
commitfbaf6a5a35a830c2ae0449210efa31c165445735 (patch)
tree40b5efea1d2b0713cf0e06ef6316cbdd7f8ea05c /sound/pci
parent4b927345a38c8e9eb2482c091f96ac06884aff8e (diff)
ALSA: korg1212: Fix reverted min/max ADC sense range
k1212MinADCSens and k1212MaxADCSens are defined wrongly. The max must be greater than the min by obvious reason. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=46561 Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r--sound/pci/korg1212/korg1212.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/korg1212/korg1212.c b/sound/pci/korg1212/korg1212.c
index e69ce5f9c31e..8a67ce95f246 100644
--- a/sound/pci/korg1212/korg1212.c
+++ b/sound/pci/korg1212/korg1212.c
@@ -196,8 +196,8 @@ enum MonitorModeSelector {
196#define K1212_ADAT_BUF_SIZE (K1212_ADAT_CHANNELS * 2 * kPlayBufferFrames * kNumBuffers) 196#define K1212_ADAT_BUF_SIZE (K1212_ADAT_CHANNELS * 2 * kPlayBufferFrames * kNumBuffers)
197#define K1212_MAX_BUF_SIZE (K1212_ANALOG_BUF_SIZE + K1212_ADAT_BUF_SIZE) 197#define K1212_MAX_BUF_SIZE (K1212_ANALOG_BUF_SIZE + K1212_ADAT_BUF_SIZE)
198 198
199#define k1212MinADCSens 0x7f 199#define k1212MinADCSens 0x00
200#define k1212MaxADCSens 0x00 200#define k1212MaxADCSens 0x7f
201#define k1212MaxVolume 0x7fff 201#define k1212MaxVolume 0x7fff
202#define k1212MaxWaveVolume 0xffff 202#define k1212MaxWaveVolume 0xffff
203#define k1212MinVolume 0x0000 203#define k1212MinVolume 0x0000