]> git.baikalelectronics.ru Git - kernel.git/commit
media: marvell-ccic: only calculate the DPHY registers when needed
authorLubomir Rintel <lkundrak@v3.sk>
Thu, 20 Jun 2019 14:49:03 +0000 (10:49 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 24 Jun 2019 17:05:30 +0000 (13:05 -0400)
commit9689a778d057ff1d11401a71d69816cb26a2f82c
tree2f43b05e63fa0e7a1770e31356c69651e4969ed9
parent7b5fb06d139f74f757f6c8d64295098474b5d5e2
media: marvell-ccic: only calculate the DPHY registers when needed

Avoid pointlessly calling calc_dphy() when the bus is not
V4L2_MBUS_CSI2_DPHY. This will make it easier to replace the platform data
with devicetree.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/marvell-ccic/mcam-core.c