lkml.org 
[lkml]   [2006]   [Dec]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 27/28] V4L/DVB (5012): Usbvision fix: It was using "&&" instead "&"
    Date

    From: Alexey Dobriyan <adobriyan@gmail.com>

    Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
    ---

    drivers/media/video/usbvision/usbvision-core.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/drivers/media/video/usbvision/usbvision-core.c b/drivers/media/video/usbvision/usbvision-core.c
    index 68542f2..a807d97 100644
    --- a/drivers/media/video/usbvision/usbvision-core.c
    +++ b/drivers/media/video/usbvision/usbvision-core.c
    @@ -2311,7 +2311,7 @@ int usbvision_restart_isoc(struct usb_us
    usbvision->Vin_Reg2_Preset)) < 0) return ret;

    /* TODO: schedule timeout */
    - while ((usbvision_read_reg(usbvision, USBVISION_STATUS_REG) && 0x01) != 1);
    + while ((usbvision_read_reg(usbvision, USBVISION_STATUS_REG) & 0x01) != 1);

    return 0;
    }
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-12-27 18:21    [W:0.019 / U:32.416 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site