2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 12:43:55 +08:00
linux-next/drivers/media/i2c/adv748x
Jacopo Mondi 6bc3ea7a61 media: i2c: adv748x: Handle TX[A|B] power management
As the driver is now allowed to probe with a single output endpoint,
power management routines shall now take into account the case a CSI-2 TX
is not enabled.

Unify the adv748x_tx_power() routine to handle transparently TXA and TXB,
and enable the CSI-2 outputs conditionally.

Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-10-04 14:48:34 -04:00
..
adv748x-afe.c media: i2c: adv748x: Handle TX[A|B] power management 2018-10-04 14:48:34 -04:00
adv748x-core.c media: i2c: adv748x: Handle TX[A|B] power management 2018-10-04 14:48:34 -04:00
adv748x-csi2.c media: i2c: adv748x: Handle TX[A|B] power management 2018-10-04 14:48:34 -04:00
adv748x-hdmi.c media: i2c: adv748x: Handle TX[A|B] power management 2018-10-04 14:48:34 -04:00
adv748x.h media: i2c: adv748x: Handle TX[A|B] power management 2018-10-04 14:48:34 -04:00
Makefile