Commit 27caac81 authored by Nicolas Kaiser's avatar Nicolas Kaiser Committed by Jaroslav Kysela

[ALSA] sound/pci: remove duplicated defines

Remove duplicated defines.
(From their use it looks like 'midiDataOutx are written to
rather than read from.)
Signed-off-by: default avatarNicolas Kaiser <nikai@nikai.net>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarJaroslav Kysela <perex@perex.cz>
parent 5dbc9479
...@@ -163,9 +163,6 @@ enum MonitorModeSelector { ...@@ -163,9 +163,6 @@ enum MonitorModeSelector {
// this is the upper word of the PCI control reg. // this is the upper word of the PCI control reg.
#define DEV_VEND_ID_OFFSET 0x70 // location of the device and vendor ID register #define DEV_VEND_ID_OFFSET 0x70 // location of the device and vendor ID register
#define COMMAND_ACK_DELAY 13 // number of RTC ticks to wait for an acknowledgement
// from the card after sending a command.
#define INTERCOMMAND_DELAY 40
#define MAX_COMMAND_RETRIES 5 // maximum number of times the driver will attempt #define MAX_COMMAND_RETRIES 5 // maximum number of times the driver will attempt
// to send a command before giving up. // to send a command before giving up.
#define COMMAND_ACK_MASK 0x8000 // the MSB is set in the command acknowledgment from #define COMMAND_ACK_MASK 0x8000 // the MSB is set in the command acknowledgment from
......
...@@ -104,8 +104,6 @@ MODULE_FIRMWARE("digiface_firmware_rev11.bin"); ...@@ -104,8 +104,6 @@ MODULE_FIRMWARE("digiface_firmware_rev11.bin");
#define HDSP_statusRegister 0 #define HDSP_statusRegister 0
#define HDSP_timecode 128 #define HDSP_timecode 128
#define HDSP_status2Register 192 #define HDSP_status2Register 192
#define HDSP_midiDataOut0 352
#define HDSP_midiDataOut1 356
#define HDSP_midiDataIn0 360 #define HDSP_midiDataIn0 360
#define HDSP_midiDataIn1 364 #define HDSP_midiDataIn1 364
#define HDSP_midiStatusOut0 384 #define HDSP_midiStatusOut0 384
......
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