Commit Graph

27 Commits

Author SHA1 Message Date
Patrik Jakobsson
758fe01952 fthd/isp: Don't return fatal error on missing sensor setfile
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
2017-04-24 06:51:13 +02:00
Patrik Jakobsson
790c440a5e fthd: Remove dead code
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
2016-10-26 16:55:58 +02:00
Patrik Jakobsson
dbbac25be2 fthd: Tune up and down info and debug messages
Also turn a BUG_ON() to WARN_ON()

Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
2016-09-28 21:06:44 +02:00
Patrik Jakobsson
187ec0c872 fthd: Fix some FIXMEs
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
2016-07-04 01:14:41 +02:00
Patrik Jakobsson
45bccf0a30 fthd: Update copyrights
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
2016-07-03 12:28:11 +02:00
Patrik Jakobsson
1b84244a0e fthd: Clean up debug/info/error messages
Go for the pr_ macros instead of dev_

Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
2016-07-03 01:13:21 +02:00
Andriy Skulysh
5201e3f372 facetimehd: fix fw_args init.
Signed-off-by: Andriy Skulysh <askulysh@gmail.com>
2016-01-28 15:46:58 +02:00
Patrik Jakobsson
581c909a3f facetimehd: Rename firmware control registers
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
2015-12-31 14:41:17 +01:00
Patrik Jakobsson
0617a86642 facetimehd: Name the known IRQ registers
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
2015-12-31 14:41:17 +01:00
Patrik Jakobsson
2b45fb581a facetimehd: Add control for auto white balance
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
2015-12-06 14:47:26 +01:00
Patrik Jakobsson
eb3e43505d facetimehd: Allow loading of set file to fail
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
2015-12-06 14:45:38 +01:00
Patrik Jakobsson
4d67b02371 Merge branch 'my_fixes' of git://github.com/sschnelle/facetimehd 2015-11-30 21:57:44 +01:00
Sven Schnelle
59c279a5f3 facetimehd: check command status in fthd_isp_cmd() 2015-11-30 11:50:26 +01:00
Sven Schnelle
cf1e7c2dfb facetimehd: add function to send debug commands to the firmware 2015-11-30 11:49:59 +01:00
Patrik Jakobsson
77bf571d54 Merge branch 'my_fixes' of git://github.com/sschnelle/facetimehd 2015-11-29 21:15:28 +01:00
Sven Schnelle
d1ec497e02 Merge remote-tracking branch 'patjak/master' into my_fixes 2015-11-28 23:11:00 +01:00
Sven Schnelle
c0e9fbb6e6 facetimehd: return error if channel list is empty
Signed-off-by: Sven Schnelle <svens@stackframe.org>
2015-11-28 23:01:19 +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
Patrik Jakobsson
58195cd9e4 facetimehd: Rename firmware directory
And the v4l driver name.
2015-11-28 21:26:07 +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
affbf73f42 facetimehd: add functions to set saturation and hue 2015-11-28 16:15:39 +01:00
Sven Schnelle
ad486d4522 facetimehd: remove cmd_ready variable
instead evaluate the ringbuffer status. This allows to have more than one isp
command in flight.
2015-11-28 16:10:34 +01:00
Patrik Jakobsson
4ffc88f155 facetimehd: Use the max macro from linux/kernel.h 2015-11-28 13:33:47 +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