Hello all, I'm studying the code of rtc.c. When I look at the rtc_read function I fail to understand why the process is put on a wait queue. Aren't processes put on queue's when data in not available and then schedule()ed? Why isn't there a check for data first before it's put on a wait queue? For example after the: if (data != 0) just wondering. Richard -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/