Commit ff250c61 authored by Lubomir Rintel's avatar Lubomir Rintel Committed by Mauro Carvalho Chehab

media: marvell-ccic: mmp: don't chicken out w/o pdata

It's impossible for mmpcam_calc_dphy() to be called without it.
Signed-off-by: default avatarLubomir Rintel <lkundrak@v3.sk>
Reviewed-by: default avatarJacopo Mondi <jacopo@jmondi.org>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent 901ecb02
...@@ -105,9 +105,6 @@ static void mmpcam_calc_dphy(struct mcam_camera *mcam) ...@@ -105,9 +105,6 @@ static void mmpcam_calc_dphy(struct mcam_camera *mcam)
struct device *dev = &cam->pdev->dev; struct device *dev = &cam->pdev->dev;
unsigned long tx_clk_esc; unsigned long tx_clk_esc;
if (!pdata)
return;
/* /*
* If CSI2_DPHY3 is calculated dynamically, * If CSI2_DPHY3 is calculated dynamically,
* pdata->lane_clk should be already set * pdata->lane_clk should be already set
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment