28 Sep, 2006

1 commit

  • The purpose of this patch is to split off the case when a device does
    not reply on the lower level (which is reported by HC hardware), and
    a case when the device accepted the request, but does not reply at
    upper level. This redefinition allows to diagnose issues easier,
    without asking the user if the -110 happened "immediately".

    The usbmon splits such cases already thanks to its timestamp, but
    it's not always available.

    I adjusted all drivers which I found affected (by searching for "urb").
    Out of tree drivers may suffer a little bit, but I do not expect much
    breakage. At worst they may print a few messages.

    Signed-off-by: Pete Zaitcev
    Signed-off-by: Greg Kroah-Hartman

    Pete Zaitcev
     

27 Sep, 2006

1 commit

  • i2c-algo-bit: Discard the mdelay data struct member

    The i2c_algo_bit_data structure has an mdelay member, which is not
    used by the algorithm code (the code has always been ifdef'd out.)
    Let's discard it to save some code and memory.

    Signed-off-by: Jean Delvare
    Acked-by: Mauro Carvalho Chehab
    Cc: Adrian Bunk
    Signed-off-by: Greg Kroah-Hartman

    Jean Delvare
     

26 Sep, 2006

1 commit

  • The v4l2 API documentation for VIDIOC_ENUMSTD says:

    To enumerate all standards applications shall begin at index
    zero, incrementing by one until the driver returns EINVAL.

    The actual code, however, tests the index this way:

    if (index= vfd->tvnormsize) {
    ret=-EINVAL;

    So any application which passes in index=0 gets EINVAL right off the bat
    - and, in fact, this is what happens to mplayer. So I think the
    following patch is called for, and maybe even appropriate for a 2.6.18.x
    stable release.

    Signed-off-by: Jonathan Corbet
    Cc: Mauro Carvalho Chehab
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jonathan Corbet
     

11 Sep, 2006

5 commits


09 Aug, 2006

10 commits


30 Jul, 2006

17 commits


11 Jul, 2006

1 commit

  • Use release_firmware() to free requested resources.

    According to Documentation/firmware_class/README the request_firmware()
    call should be followed by a release_firmware(). Some drivers do not
    however free the firmware previously allocated with request_firmware().
    This patch tries to fix this by making sure that release_firmware() is used
    as expected.

    Signed-off-by: Magnus Damm
    Acked-by: Marcel Holtmann
    Cc: Mauro Carvalho Chehab
    Cc: "John W. Linville"
    Cc: Greg KH
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Magnus Damm
     

03 Jul, 2006

1 commit


01 Jul, 2006

3 commits