Commit:     26e33048aad0486c98155b1406037f02fe70cb1b
Parent:     6a540254966f8a01de0f7c78a27db17458c2d8f5
Author:     Mike Isely <[EMAIL PROTECTED]>
AuthorDate: Mon Dec 3 01:43:23 2007 -0300
Committer:  Mauro Carvalho Chehab <[EMAIL PROTECTED]>
CommitDate: Fri Jan 25 19:03:07 2008 -0200

    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: Mike Isely <[EMAIL PROTECTED]>
    Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
 drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h 
index 894c630..c79d3a6 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h
+++ b/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h
@@ -217,9 +217,9 @@ struct pvr2_hdw {
        struct urb *ctl_read_urb;
        unsigned char *ctl_write_buffer;
        unsigned char *ctl_read_buffer;
-       volatile int ctl_write_pend_flag;
-       volatile int ctl_read_pend_flag;
-       volatile int ctl_timeout_flag;
+       int ctl_write_pend_flag;
+       int ctl_read_pend_flag;
+       int ctl_timeout_flag;
        struct completion ctl_done;
        unsigned char cmd_buffer[PVR2_CTL_BUFFSIZE];
        int cmd_debug_state;               // Low level command debugging info
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to