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: 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>
This commit is contained in:
parent
901ecb0211
commit
ff250c6147
@ -105,9 +105,6 @@ static void mmpcam_calc_dphy(struct mcam_camera *mcam)
|
||||
struct device *dev = &cam->pdev->dev;
|
||||
unsigned long tx_clk_esc;
|
||||
|
||||
if (!pdata)
|
||||
return;
|
||||
|
||||
/*
|
||||
* If CSI2_DPHY3 is calculated dynamically,
|
||||
* pdata->lane_clk should be already set
|
||||
|
Loading…
Reference in New Issue
Block a user