summaryrefslogtreecommitdiff
path: root/sound/pci/echoaudio/midi.c
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2009-02-12 01:49:30 +0300
committerTakashi Iwai <tiwai@suse.de>2009-02-12 02:24:11 +0300
commite930e99500e5bd055270c668cca8bd2f33056895 (patch)
tree13a892981cfe591ca57f3e5a5d35b97881a813a2 /sound/pci/echoaudio/midi.c
parenta85165c66c5640c37b67a94aa4e00fe45273bca1 (diff)
downloadlinux-e930e99500e5bd055270c668cca8bd2f33056895.tar.xz
ALSA: echoaudio - replace uses of __constant_{endian}
The base versions handle constant folding now. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/echoaudio/midi.c')
-rw-r--r--sound/pci/echoaudio/midi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/echoaudio/midi.c b/sound/pci/echoaudio/midi.c
index 77bf2a83d997..a953d142cb4b 100644
--- a/sound/pci/echoaudio/midi.c
+++ b/sound/pci/echoaudio/midi.c
@@ -44,10 +44,10 @@ static int enable_midi_input(struct echoaudio *chip, char enable)
if (enable) {
chip->mtc_state = MIDI_IN_STATE_NORMAL;
chip->comm_page->flags |=
- __constant_cpu_to_le32(DSP_FLAG_MIDI_INPUT);
+ cpu_to_le32(DSP_FLAG_MIDI_INPUT);
} else
chip->comm_page->flags &=
- ~__constant_cpu_to_le32(DSP_FLAG_MIDI_INPUT);
+ ~cpu_to_le32(DSP_FLAG_MIDI_INPUT);
clear_handshake(chip);
return send_vector(chip, DSP_VC_UPDATE_FLAGS);