media: adv748x: Implement TX link_setup callback
authorJacopo Mondi <jacopo+renesas@jmondi.org>
Thu, 10 Jan 2019 14:02:13 +0000 (09:02 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 18 Feb 2019 16:23:44 +0000 (11:23 -0500)
commit9423ca350df71ff71f8db2b01127eecd2254f619
tree5526e3cc06e41e8e932d7ee0683b5a98a1e98d63
parenta33df6ac31513c499e4b8dae9632e641ebe4a245
media: adv748x: Implement TX link_setup callback

When the adv748x driver is informed about a link being created from HDMI or
AFE to a CSI-2 TX output, the 'link_setup()' callback is invoked. Make
sure to implement proper routing management at link setup time, to route
the selected video stream to the desired TX output.

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/i2c/adv748x/adv748x-core.c
drivers/media/i2c/adv748x/adv748x.h