/* * Linux driver for TerraTec DMX 6Fire USB * * Author: Torsten Schenk * Created: Jan 01, 2011 * Copyright: (C) Torsten Schenk * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. */ #ifndef USB6FIRE_MIDI_H #define USB6FIRE_MIDI_H #include "common.h" struct midi_runtime { struct sfire_chip *chip; struct snd_rawmidi *instance; struct snd_rawmidi_substream *in; char in_active; spinlock_t in_lock; spinlock_t out_lock; struct snd_rawmidi_substream *out; struct urb out_urb; u8 out_serial; /* serial number of out packet */ u8 *out_buffer; int buffer_offset; void (*in_received)(struct midi_runtime *rt, u8 *data, int length); }; int usb6fire_midi_init(struct sfire_chip *chip); void usb6fire_midi_abort(struct sfire_chip *chip); void usb6fire_midi_destroy(struct sfire_chip *chip); #endif /* USB6FIRE_MIDI_H */ nge='this.form.submit();'> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/drivers/usb/serial/empeg.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-01-31 13:05:15 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2017-01-31 13:05:15 -0800
commitc9194b99ae1825bdbafc701965442a47739ff0ad (patch)
tree76dbb4da02aea1ba8bd886b7b2c53fdb26202710 /drivers/usb/serial/empeg.c
parent415f9b71d17d294c2f2075b3fc7717d72e5e48f9 (diff)
parent8e9faa15469ed7c7467423db4c62aeed3ff4cae3 (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid
Pull HID fixes from Jiri Kosina: - regression fix (sleeping while atomic) for cp2112, from Johan Hovold - regression fix for proximity handling under certain circumstances in Wacom driver, from Jason Gerecke - functional fix for Logitech Rumblepad 2, from Ardinartsev Nikita * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid: HID: cp2112: fix gpio-callback error handling HID: cp2112: fix sleep-while-atomic HID: hid-lg: Fix immediate disconnection of Logitech Rumblepad 2 HID: usbhid: Quirk a AMI virtual mouse and keyboard with ALWAYS_POLL HID: wacom: Fix poor prox handling in 'wacom_pl_irq'
Diffstat (limited to 'drivers/usb/serial/empeg.c')