Commit a3466865 authored by Adrian Knoth's avatar Adrian Knoth Committed by Takashi Iwai

ALSA: hdsp - Correct HDSP_VERSION_BIT constant, thus partly fixing RPM detection

HDSP_VERSION_BIT has to be ORed with HDSP_S_LOAD. This fixes the detection
of at least some RME RPM boxes.
Signed-off-by: default avatarAdrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 9e6ff520
...@@ -151,7 +151,7 @@ MODULE_FIRMWARE("digiface_firmware_rev11.bin"); ...@@ -151,7 +151,7 @@ MODULE_FIRMWARE("digiface_firmware_rev11.bin");
#define HDSP_PROGRAM 0x020 #define HDSP_PROGRAM 0x020
#define HDSP_CONFIG_MODE_0 0x040 #define HDSP_CONFIG_MODE_0 0x040
#define HDSP_CONFIG_MODE_1 0x080 #define HDSP_CONFIG_MODE_1 0x080
#define HDSP_VERSION_BIT 0x100 #define HDSP_VERSION_BIT (0x100 | HDSP_S_LOAD)
#define HDSP_BIGENDIAN_MODE 0x200 #define HDSP_BIGENDIAN_MODE 0x200
#define HDSP_RD_MULTIPLE 0x400 #define HDSP_RD_MULTIPLE 0x400
#define HDSP_9652_ENABLE_MIXER 0x800 #define HDSP_9652_ENABLE_MIXER 0x800
......
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