summaryrefslogtreecommitdiffstats
path: root/sound/pci/echoaudio/mia_dsp.c
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2009-02-11 14:49:30 -0800
committerTakashi Iwai <tiwai@suse.de>2009-02-12 00:24:11 +0100
commite930e99500e5bd055270c668cca8bd2f33056895 (patch)
tree13a892981cfe591ca57f3e5a5d35b97881a813a2 /sound/pci/echoaudio/mia_dsp.c
parenta85165c66c5640c37b67a94aa4e00fe45273bca1 (diff)
downloadtalos-op-linux-e930e99500e5bd055270c668cca8bd2f33056895.tar.gz
talos-op-linux-e930e99500e5bd055270c668cca8bd2f33056895.zip
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/mia_dsp.c')
-rw-r--r--sound/pci/echoaudio/mia_dsp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/echoaudio/mia_dsp.c b/sound/pci/echoaudio/mia_dsp.c
index 227386602f9b..3eca16cb7f71 100644
--- a/sound/pci/echoaudio/mia_dsp.c
+++ b/sound/pci/echoaudio/mia_dsp.c
@@ -222,10 +222,10 @@ static int set_professional_spdif(struct echoaudio *chip, char prof)
DE_ACT(("set_professional_spdif %d\n", prof));
if (prof)
chip->comm_page->flags |=
- __constant_cpu_to_le32(DSP_FLAG_PROFESSIONAL_SPDIF);
+ cpu_to_le32(DSP_FLAG_PROFESSIONAL_SPDIF);
else
chip->comm_page->flags &=
- ~__constant_cpu_to_le32(DSP_FLAG_PROFESSIONAL_SPDIF);
+ ~cpu_to_le32(DSP_FLAG_PROFESSIONAL_SPDIF);
chip->professional_spdif = prof;
return update_flags(chip);
}
OpenPOWER on IntegriCloud