[media] media: i2c: tvp514x: add support for asynchronous probing
authorLad, Prabhakar <prabhakar.csengg@gmail.com>
Mon, 24 Jun 2013 14:51:39 +0000 (11:51 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 26 Jul 2013 16:15:33 +0000 (13:15 -0300)
commit8f23acb52b168282dd818a48fb3d011ed4200978
tree40ac061f9d3421f03b90ae3e7c9d5b0aa0e70348
parent25ba2c802f0c675bc846cc5d0adcaba5b76e6c1f
[media] media: i2c: tvp514x: add support for asynchronous probing

Both synchronous and asynchronous tvp514x subdevice probing
is supported by this patch.
This patch also fixes the error path by calling
media_entity_cleanup() on failure in probe when
CONFIG_MEDIA_CONTROLLER is enabled.

Signed-off-by: Prabhakar Lad <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/i2c/tvp514x.c