diff options
author | Jean Delvare <khali@linux-fr.org> | 2009-04-17 10:56:51 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-04-29 15:41:13 -0300 |
commit | 272aa3966b3244e576c5c07bfff77ea320b89317 (patch) | |
tree | a0e8069b696d27fd5a0c38f2ae91355c83069d69 /include/media | |
parent | a357482a1e8fdd39f0a58c33ed2ffd0f1becb825 (diff) |
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 <khali@linux-fr.org>
Acked-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media')
0 files changed, 0 insertions, 0 deletions