exynos4-is: Register v4l2_async notifier only when sensors are available
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Mon, 24 Feb 2014 12:48:41 +0000 (13:48 +0100)
committerChanho Park <chanho61.park@samsung.com>
Thu, 20 Mar 2014 08:43:56 +0000 (17:43 +0900)
commitdf1df3e7df9b9d5048d63db5c51deca321bbe8be
tree703ed0a779b737f63eba3892082f99c4c07f1da6
parent1ca6f686a10a0badfd62ffb7541e462734815d16
exynos4-is: Register v4l2_async notifier only when sensors are available

This allows driver initialization again if no camera sensors are
specified. It fixes regression introduced in commit 9cb4cf023f4d793ca
"exynos4-is: Add support for asynchronous sensor subddevs registration"

Change-Id: I02379781ff51142f02dc3a4c3f0bc7b0da999e1f
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
drivers/media/platform/exynos4-is/media-dev.c