[media] s5p-fimc: Fix platform entities registration
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Thu, 25 Oct 2012 13:48:44 +0000 (10:48 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 25 Oct 2012 16:42:16 +0000 (14:42 -0200)
commitafd7348c60b4f5d3d4d041aa0c29a6258a476b89
tree7db7963d0fa21f9aac79c7db0c0af246def97467
parent02924ca45893adb9ad2383696006272fe8c2ef64
[media] s5p-fimc: Fix platform entities registration

Make sure the platform sub-devices are registered to the media
device driver only when v4l2_device_register_subdev() succeeds.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/s5p-fimc/fimc-mdevice.c