From: Jean Delvare Date: Fri, 17 Apr 2009 13:56:51 +0000 (-0300) Subject: V4L/DVB (11568): cx18: Fix the handling of i2c bus registration error X-Git-Tag: v2.6.30-rc4~2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=272aa3966b3244e576c5c07bfff77ea320b89317;p=pandora-kernel.git V4L/DVB (11568): cx18: Fix the handling of i2c bus registration error * Return actual error values as returned by the i2c subsystem, rather than 0 or 1. * If the registration of the second bus fails, unregister the first one before exiting, otherwise we are leaking resources. Signed-off-by: Jean Delvare Acked-by: Andy Walls Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed