[media] s5p-fimc: Don't create multiple active links to same sink entity
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Wed, 16 May 2012 16:08:30 +0000 (13:08 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 25 Jun 2012 12:16:37 +0000 (09:16 -0300)
commitd0da3c3565a1dd3cdfa374038d6ccae4b90fe142
tree251a88a5a59dc22b69ba483f6c398d8e4b978b36
parent90e614bb4c581eb588ec26f130fcdd65aa047fa8
[media] s5p-fimc: Don't create multiple active links to same sink entity

The driver is supposed to create active media link from sensor N
(or its corresponding s5p-mipi-csis entity) to FIMC.N by default.
Instead s5p-mipi-csis.N entity gets  always connected by a default
active link to FIMC.N, regardless of there are parallel bus sensor
entities already connected to FIMC.N. Correct this.

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/video/s5p-fimc/fimc-mdevice.c