From: Trent Piepho Date: Mon, 23 Jul 2007 09:58:31 +0000 (-0300) Subject: V4L/DVB (5900): usbvision: fix bugs [sg]_register functions X-Git-Tag: v2.6.23-rc2~153^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc147135bc410bdd9da684646af75a188d882d56;p=pandora-kernel.git 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 Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed