diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2019-06-20 10:49:04 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-06-24 13:05:51 -0400 |
commit | ff250c6147f36a8b7a5305ffbde7881973fed5af (patch) | |
tree | 5874f003859dc1885b656e91ab0f88faf763f99d | |
parent | 901ecb02113757df8a1b6a6ff29c6941baeec3df (diff) | |
download | linux-ff250c6147f36a8b7a5305ffbde7881973fed5af.tar.bz2 |
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>
-rw-r--r-- | drivers/media/platform/marvell-ccic/mmp-driver.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/platform/marvell-ccic/mmp-driver.c b/drivers/media/platform/marvell-ccic/mmp-driver.c index 450693e6657d..10559492e09e 100644 --- a/drivers/media/platform/marvell-ccic/mmp-driver.c +++ b/drivers/media/platform/marvell-ccic/mmp-driver.c @@ -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 |