2008-07-31 14:16:44 How to remove blcoking function in kernel
Appalayagari Sreedhar (INDIA)
I am writing a flash driver, in that i am having a blocking function to check the status bits whether the erase or write functions are success or not.
It is a bad idea to block in the kernel, I want to resolve this problem by inserting some delay, I could see it is not functioning properly.
If i try sleep in the kernel will that helps, i need to insert sleep for some micro seconds. if sleep helps, where i can find the usleep function.
what else i can do for solving this problem.
2008-07-31 22:41:29 Re: How to remove blcoking function in kernel
Mike Frysinger (UNITED STATES)
please obtain and read the Linux Device Drivers book. it covers topics like this and a lot more, and it is free.