diff options
author | Trent Piepho <xyzzy@speakeasy.org> | 2007-07-23 06:58:31 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-07-30 16:26:31 -0300 |
commit | bc147135bc410bdd9da684646af75a188d882d56 (patch) | |
tree | 33d48c996e453d36f58f9572b44508423fb487cb /drivers/media/video/c-qcam.c | |
parent | cf784d554fdb94f21671830135dba56b507126cf (diff) |
V4L/DVB (5900): usbvision: fix bugs [sg]_register functions
s_register was assigning the return code to (unsigned)reg->val, rather than
errCode, which it what it would return. Except reg->val can't be < 0, so it
would never actually return an error.
g_register never actually put the value it read into reg->val.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/c-qcam.c')
0 files changed, 0 insertions, 0 deletions