Commit Graph

14 Commits

Author SHA1 Message Date
Sven Schnelle
d1ec497e02 Merge remote-tracking branch 'patjak/master' into my_fixes 2015-11-28 23:11:00 +01:00
Sven Schnelle
6bbe3712f8 facetimehd: fix enum_frameintervals()
Signed-off-by: Sven Schnelle <svens@stackframe.org>
2015-11-28 23:09:40 +01:00
Sven Schnelle
4758d7a848 facetimehd: set framesize type to stepwise 2015-11-28 23:02:23 +01:00
Sven Schnelle
ca8c5584e0 facetimehd: add channel waitqueue
add a per channel waitqueue to be able to have more than one ringbuffer
entry in flight.

Signed-off-by: Sven Schnelle <svens@stackframe.org>
2015-11-28 22:59:44 +01:00
Sven Schnelle
aebaf60c07 facetimehd: change fthd_channel_ringbuf_send() error handling
In the current implementation it returns -1 on error, an offset value
otherwise. Change it to return a negative error value, and add a pointer
to an u32 for receiving the entry offset as an extra argument.

This makes the ugly (u32)-1 return code comparision obsolete, and we
can return a more detailed error code like EAGAIN if all ringbuffer slots
are busy.
2015-11-28 21:18:22 +01:00
Patrik Jakobsson
8e83f8fbcd Merge branch 'my_fixes' of git://github.com/sschnelle/facetimehd 2015-11-28 21:16:40 +01:00
Sven Schnelle
2ff298739a facetimehd: set bus_info in v4l2 capabilities 2015-11-28 17:15:42 +01:00
Sven Schnelle
1af48495ad facetimehd: report correct amount of buffers 2015-11-28 17:10:16 +01:00
Sven Schnelle
2e7af64e81 facetimehd: add controls for brightness, contrast, saturation and hue 2015-11-28 16:17:11 +01:00
Sven Schnelle
9bc376510b facetimehd: adjust logging level in fthd_v4l2_ioctl_try_fmt_vid_cap() 2015-11-28 16:16:27 +01:00
Sven Schnelle
b93fbfc22b facetimehd: check index parameter in enum_framesizes()/enum_frameintervals()
otherwise we might have callers trying all possible index value which takes a lot
of time.
2015-11-28 16:12:19 +01:00
Patrik Jakobsson
ed773c8268 facetimehd: More Broadcom to FacetimeHD renaming 2015-11-28 13:16:53 +01:00
Sven Schnelle
9dd6bc2a02 facetimehd: don't access __iomem directly 2015-11-28 07:29:47 +01:00
Sven Schnelle
f3067f211a rename driver to facetimehd 2015-11-27 20:32:06 +01:00