Commit fbaf6a5a authored by Takashi Iwai's avatar Takashi Iwai

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=46561Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 4b927345
...@@ -196,8 +196,8 @@ enum MonitorModeSelector { ...@@ -196,8 +196,8 @@ enum MonitorModeSelector {
#define K1212_ADAT_BUF_SIZE (K1212_ADAT_CHANNELS * 2 * kPlayBufferFrames * kNumBuffers) #define K1212_ADAT_BUF_SIZE (K1212_ADAT_CHANNELS * 2 * kPlayBufferFrames * kNumBuffers)
#define K1212_MAX_BUF_SIZE (K1212_ANALOG_BUF_SIZE + K1212_ADAT_BUF_SIZE) #define K1212_MAX_BUF_SIZE (K1212_ANALOG_BUF_SIZE + K1212_ADAT_BUF_SIZE)
#define k1212MinADCSens 0x7f #define k1212MinADCSens 0x00
#define k1212MaxADCSens 0x00 #define k1212MaxADCSens 0x7f
#define k1212MaxVolume 0x7fff #define k1212MaxVolume 0x7fff
#define k1212MaxWaveVolume 0xffff #define k1212MaxWaveVolume 0xffff
#define k1212MinVolume 0x0000 #define k1212MinVolume 0x0000
......
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