summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2015-08-28 08:48:28 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-10-01 08:22:41 -0300
commit45053edc054ac9467adfdaf4f8a39db15af22b37 (patch)
treea6955a24f14419f083f8479b28b1d3cbda6f9d40 /tools/perf/scripts/python/netdev-times.py
parentd6d3fe2fe118ad13ac3a24c1e45a37312b44c462 (diff)
downloadlinux-45053edc054ac9467adfdaf4f8a39db15af22b37.tar.gz
linux-45053edc054ac9467adfdaf4f8a39db15af22b37.zip
[media] saa7164: fix poll bugs
- poll doesn't return negative values, so you can't return -EINVAL. Instead return POLLERR. - poll can't be called if !video_is_registered(), so this test can be dropped. - poll can never do a blocking wait, so remove that check. - poll shouldn't attempt to start streaming if the caller isn't interested in read events. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions