summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-04-17 13:56:51 +0000
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-04-17 13:56:51 +0000
commitd11015309b20086d70d49ef788bc935f0225144a (patch)
tree4318e5b0920eb0ddf575d8056d7d951b8c6a3905 /linux/drivers/media/dvb
parentc9b0e0161de09a846b048792fd53557bc316c5d4 (diff)
downloadmediapointer-dvb-s2-d11015309b20086d70d49ef788bc935f0225144a.tar.gz
mediapointer-dvb-s2-d11015309b20086d70d49ef788bc935f0225144a.tar.bz2
cx18: Fix the handling of i2c bus registration error
From: Jean Delvare <khali@linux-fr.org> * 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 <khali@linux-fr.org> Acked-by: Andy Walls <awalls@radix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/dvb')
0 files changed, 0 insertions, 0 deletions