• Javier Martinez Canillas's avatar
    [media] omap3isp: create links after all subdevs have been bound · 68a57fa9
    Javier Martinez Canillas authored
    The omap3isp driver parses the graph endpoints to know how many subdevices
    needs to be registered async and register notifiers callbacks for to know
    when these are bound and when the async registrations are completed.
    
    Currently the entities pad are linked with the correct ISP input interface
    when the subdevs are bound but it happens before entitities are registered
    with the media device so that won't work now that the entity links list is
    initialized on device registration.
    
    So instead creating the pad links when the subdevice is bound, create them
    on the complete callback once all the subdevices have been bound but only
    try to create for the ones that have a bus configuration set during bound.
    Signed-off-by: default avatarJavier Martinez Canillas <javier@osg.samsung.com>
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
    68a57fa9
isp.c 66.6 KB