r5u870

Ricoh R5U870 Linux Driver
git clone https://logand.com/git/r5u870.git/
Log | Files | Refs | README | LICENSE

commit 72b325efec9e7641120773c34119699344d50ff8
parent 6fb2e5a163fb9136496bed6f627056f0dbd2b961
Author: alex <alex@022568fa-442e-4ef8-a3e8-54dcafdb011a>
Date:   Thu, 13 Mar 2008 22:47:26 +0000

* Remove invalid control ID for UVC 1812 camera.
* Don't die if we failed to set a control to a certain value, just warn.


git-svn-id: http://svn.mediati.org/svn/r5u870/trunk@74 022568fa-442e-4ef8-a3e8-54dcafdb011a

Diffstat:
Mr5u870.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/r5u870.c b/r5u870.c @@ -291,7 +291,8 @@ static int r5u870_set_gen_reg(struct r5u870_ctx *vhp, if (res < 0) { r5u_err(vhp, "set_gen_reg %04x/%04x/%04x failed: %d", cmd, reg, val, res); - return res; + // XXX: Only commented for debugging. UNCOMMENT BEFORE RELEASE! + //return res; } return 0; } @@ -2639,7 +2640,6 @@ static const int r5u870_1812_ctrls[] = { R5U870_WDM_CTRL_WB_RED, R5U870_WDM_CTRL_WB_GREEN, R5U870_WDM_CTRL_WB_BLUE, - R5U870_WDM_CTRL_WB_AUTO, R5U870_WDM_CTRL_VFLIP, R5U870_WDM_CTRL_HFLIP, R5U870_WDM_CTRL_PRIVACY,