summaryrefslogtreecommitdiff
path: root/drivers/media/usb/em28xx/em28xx-camera.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2014-01-05 08:43:40 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-01-07 05:07:36 -0200
commit1f0ee65a3b6a3c78c4f6b10f8df5700a44ed3c36 (patch)
tree4d5d95a812149bda6bc6893887091f27d439b644 /drivers/media/usb/em28xx/em28xx-camera.c
parentb64f8e9adc2eff4941ca0cf146a850c7b4173594 (diff)
downloadlwn-1f0ee65a3b6a3c78c4f6b10f8df5700a44ed3c36.tar.gz
lwn-1f0ee65a3b6a3c78c4f6b10f8df5700a44ed3c36.zip
[media] em28xx: unregister i2c bus 0 if bus 1 fails to register
Fix the error handling logic, making it to unregister i2c bus 0, in case of a failure to register the second bus. Reported-by: Frank Schäfer <fschaefer.oss@googlemail.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/usb/em28xx/em28xx-camera.c')
0 files changed, 0 insertions, 0 deletions