commit | 6a28bd94f4d068b6de65517e52f52b6840603d0a | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab@redhat.com> | Sun Mar 17 10:27:44 2013 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Thu Mar 21 07:52:29 2013 -0300 |
tree | d67234d976b50a403ea5bcd93745ba4031c6417a | |
parent | 773adad14135999380a4652b4ba01c5694827870 [diff] |
[media] siano: add support for .poll on debugfs Implement poll() method for debugfs and be sure that the debug_data won't be freed on ir or on read(). With this change, poll() will return POLLIN if either data was filled or if data was read. That allows read() to return 0 to indicate EOF in the latter case. As poll() is now provided, fix support for non-block mode. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>