aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/common/siano/smscoreapi.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2013-03-17 10:27:44 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-21 07:52:29 -0300
commit6a28bd94f4d068b6de65517e52f52b6840603d0a (patch)
treed67234d976b50a403ea5bcd93745ba4031c6417a /drivers/media/common/siano/smscoreapi.c
parent[media] siano: fix status report with old firmware and ISDB-T (diff)
downloadlinux-dev-6a28bd94f4d068b6de65517e52f52b6840603d0a.tar.xz
linux-dev-6a28bd94f4d068b6de65517e52f52b6840603d0a.zip
[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 'drivers/media/common/siano/smscoreapi.c')
0 files changed, 0 insertions, 0 deletions