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)
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>

No differences found