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>
This commit is contained in:
committed by
Takashi Iwai
parent
a85165c66c
commit
e930e99500
@ -284,10 +284,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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user