diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2009-02-12 01:49:30 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-02-12 02:24:11 +0300 |
commit | e930e99500e5bd055270c668cca8bd2f33056895 (patch) | |
tree | 13a892981cfe591ca57f3e5a5d35b97881a813a2 /sound/pci/echoaudio/echoaudio_dsp.c | |
parent | a85165c66c5640c37b67a94aa4e00fe45273bca1 (diff) | |
download | linux-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/echoaudio_dsp.c')
-rw-r--r-- | sound/pci/echoaudio/echoaudio_dsp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/pci/echoaudio/echoaudio_dsp.c b/sound/pci/echoaudio/echoaudio_dsp.c index be0e18192de3..4df51ef5e095 100644 --- a/sound/pci/echoaudio/echoaudio_dsp.c +++ b/sound/pci/echoaudio/echoaudio_dsp.c @@ -926,11 +926,11 @@ static int init_dsp_comm_page(struct echoaudio *chip) /* Init the comm page */ chip->comm_page->comm_size = - __constant_cpu_to_le32(sizeof(struct comm_page)); + cpu_to_le32(sizeof(struct comm_page)); chip->comm_page->handshake = 0xffffffff; chip->comm_page->midi_out_free_count = - __constant_cpu_to_le32(DSP_MIDI_OUT_FIFO_SIZE); - chip->comm_page->sample_rate = __constant_cpu_to_le32(44100); + cpu_to_le32(DSP_MIDI_OUT_FIFO_SIZE); + chip->comm_page->sample_rate = cpu_to_le32(44100); chip->sample_rate = 44100; /* Set line levels so we don't blast any inputs on startup */ |