Commit 26e33048 authored by Mike Isely's avatar Mike Isely Committed by Mauro Carvalho Chehab

V4L/DVB (6706): pvrusb2: Remove use of volatile in command sequencer

pvrusb2: Remove use of volatile for command sequencer; these variables
are set by interrupt-context code and we check their state in such a
manner that there should be no race conditions.  This had originally
been done out of paranoia, and I have since been convinced that the
paranoia is not required.
Signed-off-by: default avatarMike Isely <isely@pobox.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 6a540254
...@@ -217,9 +217,9 @@ struct pvr2_hdw { ...@@ -217,9 +217,9 @@ struct pvr2_hdw {
struct urb *ctl_read_urb; struct urb *ctl_read_urb;
unsigned char *ctl_write_buffer; unsigned char *ctl_write_buffer;
unsigned char *ctl_read_buffer; unsigned char *ctl_read_buffer;
volatile int ctl_write_pend_flag; int ctl_write_pend_flag;
volatile int ctl_read_pend_flag; int ctl_read_pend_flag;
volatile int ctl_timeout_flag; int ctl_timeout_flag;
struct completion ctl_done; struct completion ctl_done;
unsigned char cmd_buffer[PVR2_CTL_BUFFSIZE]; unsigned char cmd_buffer[PVR2_CTL_BUFFSIZE];
int cmd_debug_state; // Low level command debugging info int cmd_debug_state; // Low level command debugging info
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment