[alsa-devel] [PATCH v2 3/9] ALSA: line6: Distinguish device init (ctrl EP) and MIDI data transfer (int EP)
Takashi Iwai
tiwai at suse.de
Wed Aug 24 16:56:37 CEST 2016
On Fri, 19 Aug 2016 00:20:33 +0200,
Andrej Krutak wrote:
>
> diff --git a/sound/usb/line6/driver.h b/sound/usb/line6/driver.h
> index 69658dc..7aeb6ad 100644
> --- a/sound/usb/line6/driver.h
> +++ b/sound/usb/line6/driver.h
> @@ -102,6 +102,8 @@ enum {
> LINE6_CAP_PCM = 1 << 1,
> /* device supports hardware monitoring */
> LINE6_CAP_HWMON = 1 << 2,
> + /* device uses raw MIDI via USB (data endpoints) */
> + LINE6_CAP_CONTROL_MIDI = 1 << 3,
> /* device requires output data when input is read */
> LINE6_CAP_IN_NEEDS_OUT = 1 << 4,
OK, now I see the reason of the disorder in the previous patch.
But then align either the patch order or the bit order.
Takashi
More information about the Alsa-devel
mailing list