Home
last modified time | relevance | path

Searched refs:isp_i2c (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/media/platform/exynos4-is/
A Dfimc-is-i2c.c40 struct fimc_is_i2c *isp_i2c; in fimc_is_i2c_probe() local
44 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()
100 clk_disable_unprepare(isp_i2c->clock); in fimc_is_i2c_runtime_suspend()
[all …]

Completed in 3 milliseconds