upstream: [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)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:51:25 +0000 (11:51 +0900)
commit5b195737c7f02196f3781f67bdf4cda0fe5f0069
treea190754d297615e0e7c1ac9fa2fd96a3776e3c6c
parent58afdceafd53c4632b58fc9b96db8e942a311f5d
upstream: [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