Re: "Resource Temporarily Unavailable" error opening device file beginning with linux kernel 2.6.37.1

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

 





You could tell us what that bad commit is, don't leave us guessing :)

Didn't mean to leave you guessing, but I have to laugh anyway. Tension releaser. :)

1bfee5bc86fdaecc912e06080583eddab7263df2 is the first bad commit
commit 1bfee5bc86fdaecc912e06080583eddab7263df2
Author: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
Date:   Sat Sep 25 23:35:00 2010 +0200

    PM / Runtime: Merge synchronous and async runtime routines

    This patch (as1423) merges the asynchronous routines
__pm_request_idle(), __pm_request_suspend(), and __pm_request_resume() with their synchronous counterparts. The RPM_ASYNC bitflag argument
    serves to indicate what sort of operation to perform.

In the course of performing this merger, it became apparent that the
    various functions don't all behave consistenly with regard to error
    reporting and cancellation of outstanding requests.  A new routine,
    rpm_check_suspend_allowed(), was written to centralize much of the
    testing, and the other functions were revised to follow a simple
    algorithm:

        If the operation is disallowed because of the device's
        settings or current state, return an error.

        Cancel pending or scheduled requests of lower priority.

        Schedule, queue, or perform the desired operation.

    A few special cases and exceptions are noted in comments.

    Signed-off-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
    Signed-off-by: Rafael J. Wysocki <rjw@xxxxxxx>

:040000 040000 092ccb19e65161a1d0390655d89adce5768b52b1 012af04e860d6be7a371dff3b375529aee687548 M drivers


If you revert that commit, does your driver start working properly? Did
we accidentally break something?

I am a total rookie at git, we started using it here this year so I am only touching on what it can do. I will revert the commit and try again.

I don't believe you guys broke anything, I just need to mod my drivers to keep up to the changes in the kernel.

Thanks,
Donald
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux