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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user