diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-04-17 13:56:51 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-04-17 13:56:51 +0000 |
commit | d11015309b20086d70d49ef788bc935f0225144a (patch) | |
tree | 4318e5b0920eb0ddf575d8056d7d951b8c6a3905 /dvb-spec/valgrind-1.9.4.diff | |
parent | c9b0e0161de09a846b048792fd53557bc316c5d4 (diff) | |
download | mediapointer-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 'dvb-spec/valgrind-1.9.4.diff')
0 files changed, 0 insertions, 0 deletions