]> pilppa.org Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (10983): v4l2-common: add missing i2c_unregister_device.
authorHans Verkuil <hverkuil@xs4all.nl>
Thu, 12 Mar 2009 21:56:15 +0000 (18:56 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:43:20 +0000 (12:43 -0300)
commit7c026c35114d169d77c2543fdf4d5689a1c9a51d
tree6c179ab3dc681829fc8e8042dae02755cc111f8d
parent2c79252326421dd49c059aceec0880d2cf15b17a
V4L/DVB (10983): v4l2-common: add missing i2c_unregister_device.

If the i2c sub-device cannot be found, then we must unregister the i2c_client.
Otherwise this will prevent a possible probe for a different device on that same
address.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/v4l2-common.c