aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorNicolas Kaiser <nikai@nikai.net>2007-11-12 12:25:02 +0100
committerJaroslav Kysela <perex@perex.cz>2008-01-31 17:29:21 +0100
commit27caac81f33c85bfc745c75a8bc1f8107077ef56 (patch)
treef069e6b15512d34832622f157c102f8178be100a /sound
parent5dbc94791005608c57674fba04dd6b5e19ba9342 (diff)
downloadkernel_samsung_tuna-27caac81f33c85bfc745c75a8bc1f8107077ef56.zip
kernel_samsung_tuna-27caac81f33c85bfc745c75a8bc1f8107077ef56.tar.gz
kernel_samsung_tuna-27caac81f33c85bfc745c75a8bc1f8107077ef56.tar.bz2
[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: Nicolas Kaiser <nikai@nikai.net> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/korg1212/korg1212.c3
-rw-r--r--sound/pci/rme9652/hdsp.c2
2 files changed, 0 insertions, 5 deletions
diff --git a/sound/pci/korg1212/korg1212.c b/sound/pci/korg1212/korg1212.c
index c4af57f..f47172f 100644
--- a/sound/pci/korg1212/korg1212.c
+++ b/sound/pci/korg1212/korg1212.c
@@ -163,9 +163,6 @@ enum MonitorModeSelector {
// 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 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
// to send a command before giving up.
#define COMMAND_ACK_MASK 0x8000 // the MSB is set in the command acknowledgment from
diff --git a/sound/pci/rme9652/hdsp.c b/sound/pci/rme9652/hdsp.c
index ff26a36..5aa57ae 100644
--- a/sound/pci/rme9652/hdsp.c
+++ b/sound/pci/rme9652/hdsp.c
@@ -104,8 +104,6 @@ MODULE_FIRMWARE("digiface_firmware_rev11.bin");
#define HDSP_statusRegister 0
#define HDSP_timecode 128
#define HDSP_status2Register 192
-#define HDSP_midiDataOut0 352
-#define HDSP_midiDataOut1 356
#define HDSP_midiDataIn0 360
#define HDSP_midiDataIn1 364
#define HDSP_midiStatusOut0 384