summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2013-03-17 17:27:44 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-21 14:52:29 +0400
commit6a28bd94f4d068b6de65517e52f52b6840603d0a (patch)
treed67234d976b50a403ea5bcd93745ba4031c6417a /fs
parent773adad14135999380a4652b4ba01c5694827870 (diff)
downloadlinux-6a28bd94f4d068b6de65517e52f52b6840603d0a.tar.xz
[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>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions