Searched refs:isp_i2c (Results 1 – 1 of 1) sorted by relevance
40 struct fimc_is_i2c *isp_i2c; in fimc_is_i2c_probe() local44 isp_i2c = devm_kzalloc(&pdev->dev, sizeof(*isp_i2c), GFP_KERNEL); in fimc_is_i2c_probe()45 if (!isp_i2c) in fimc_is_i2c_probe()48 isp_i2c->clock = devm_clk_get(&pdev->dev, "i2c_isp"); in fimc_is_i2c_probe()49 if (IS_ERR(isp_i2c->clock)) { in fimc_is_i2c_probe()51 return PTR_ERR(isp_i2c->clock); in fimc_is_i2c_probe()54 i2c_adap = &isp_i2c->adapter; in fimc_is_i2c_probe()62 platform_set_drvdata(pdev, isp_i2c); in fimc_is_i2c_probe()90 i2c_del_adapter(&isp_i2c->adapter); in fimc_is_i2c_remove()98 clk_disable_unprepare(isp_i2c->clock); in fimc_is_i2c_runtime_suspend()[all …]