Re: [PATCH v4 12/12] ALSA: line6: Add hwdep interface to access the POD control messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 18 Sep 2016 20:59:32 +0200,
Andrej Krutak wrote:
> @@ -156,6 +166,15 @@ struct usb_line6 {
>  	/* Length of message to be processed, generated from MIDI layer  */
>  	int message_length;
>  
> +	/* Circular buffer for non-MIDI control messages */
> +	struct {
> +		struct mutex read_lock;
> +		wait_queue_head_t wait_queue;
> +		int active:1;

This should be unsigned int.  Otherwise 1 bit int is handled as -1.


Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux