diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-01-08 15:32:56 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-01-08 15:32:56 +0100 |
commit | f3f80a9205da74fa56d613f4c14b88b6e4e6caa8 (patch) | |
tree | 45bc5d27b7be884431c19f5cf7042d11af682ef3 /sound/usb/caiaq/caiaq-device.h | |
parent | 9e42d0cf5020aaf217433cad1a224745241d212a (diff) |
ALSA: caiaq - Fix Oops with MIDI
The snd-usb-caiaq driver causes Oops occasionally when accessing MIDI
devices. This patch fixes the Oops and invalid URB submission errors
as well.
Cc: stable@kernel.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/caiaq/caiaq-device.h')
-rw-r--r-- | sound/usb/caiaq/caiaq-device.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/usb/caiaq/caiaq-device.h b/sound/usb/caiaq/caiaq-device.h index f9fbdbae269..ab56e738c5f 100644 --- a/sound/usb/caiaq/caiaq-device.h +++ b/sound/usb/caiaq/caiaq-device.h @@ -75,6 +75,7 @@ struct snd_usb_caiaqdev { wait_queue_head_t ep1_wait_queue; wait_queue_head_t prepare_wait_queue; int spec_received, audio_parm_answer; + int midi_out_active; char vendor_name[CAIAQ_USB_STR_LEN]; char product_name[CAIAQ_USB_STR_LEN]; |