diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-11 21:21:02 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-11 21:21:02 -0400 |
commit | 5f76945a9c978b8b8bf8eb7fe3b17b9981240a97 (patch) | |
tree | df61aca168df657bc71ce8b578bcb0c81b0622ee /drivers/video/exynos/exynos_mipi_dsi.c | |
parent | 940e3a8dd6683a3787faf769b3df7a06f1c2fa31 (diff) | |
parent | cd9d6f10d07f26dd8a70e519c22b6b4f8a9e3e7a (diff) |
Merge tag 'fbdev-updates-for-3.7' of git://github.com/schandinat/linux-2.6
Pull fbdev updates from Florian Tobias Schandinat:
"This includes:
- large updates for OMAP
- basic OMAP5 DSS support for DPI and DSI outputs
- large cleanups and restructuring
- some update to Exynos and da8xx-fb
- removal of the pnx4008 driver (arch removed)
- various other small patches"
Fix up some trivial conflicts (mostly just include line changes, but
also some due to the renaming of the deferred work functions by Tejun).
* tag 'fbdev-updates-for-3.7' of git://github.com/schandinat/linux-2.6: (193 commits)
gbefb: fix compile error
video: mark nuc900fb_map_video_memory as __devinit
video/mx3fb: set .owner to prevent module unloading while being used
video: exynos_dp: use clk_prepare_enable and clk_disable_unprepare
drivers/video/exynos/exynos_mipi_dsi.c: fix error return code
drivers/video/savage/savagefb_driver.c: fix error return code
video: s3c-fb: use clk_prepare_enable and clk_disable_unprepare
da8xx-fb: save and restore LCDC context across suspend/resume cycle
da8xx-fb: add pm_runtime support
video/udlfb: fix line counting in fb_write
OMAPDSS: add missing include for string.h
OMAPDSS: DISPC: Configure color conversion coefficients for writeback
OMAPDSS: DISPC: Add manager like functions for writeback
OMAPDSS: DISPC: Configure writeback FIFOs
OMAPDSS: DISPC: Configure writeback specific parameters in dispc_wb_setup()
OMAPDSS: DISPC: Configure overlay-like parameters in dispc_wb_setup
OMAPDSS: DISPC: Add function to set channel in for writeback
OMAPDSS: DISPC: Don't set chroma resampling bit for writeback
OMAPDSS: DISPC: Downscale chroma if plane is writeback
OMAPDSS: DISPC: Configure input and output sizes for writeback
...
Diffstat (limited to 'drivers/video/exynos/exynos_mipi_dsi.c')
-rw-r--r-- | drivers/video/exynos/exynos_mipi_dsi.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/video/exynos/exynos_mipi_dsi.c b/drivers/video/exynos/exynos_mipi_dsi.c index 663c308d0e73..07d70a3a628b 100644 --- a/drivers/video/exynos/exynos_mipi_dsi.c +++ b/drivers/video/exynos/exynos_mipi_dsi.c | |||
@@ -205,7 +205,8 @@ int exynos_mipi_dsi_register_lcd_device(struct mipi_dsim_lcd_device *lcd_dev) | |||
205 | return 0; | 205 | return 0; |
206 | } | 206 | } |
207 | 207 | ||
208 | struct mipi_dsim_ddi *exynos_mipi_dsi_find_lcd_device(struct mipi_dsim_lcd_driver *lcd_drv) | 208 | static struct mipi_dsim_ddi *exynos_mipi_dsi_find_lcd_device( |
209 | struct mipi_dsim_lcd_driver *lcd_drv) | ||
209 | { | 210 | { |
210 | struct mipi_dsim_ddi *dsim_ddi, *next; | 211 | struct mipi_dsim_ddi *dsim_ddi, *next; |
211 | struct mipi_dsim_lcd_device *lcd_dev; | 212 | struct mipi_dsim_lcd_device *lcd_dev; |
@@ -265,7 +266,8 @@ int exynos_mipi_dsi_register_lcd_driver(struct mipi_dsim_lcd_driver *lcd_drv) | |||
265 | 266 | ||
266 | } | 267 | } |
267 | 268 | ||
268 | struct mipi_dsim_ddi *exynos_mipi_dsi_bind_lcd_ddi(struct mipi_dsim_device *dsim, | 269 | static struct mipi_dsim_ddi *exynos_mipi_dsi_bind_lcd_ddi( |
270 | struct mipi_dsim_device *dsim, | ||
269 | const char *name) | 271 | const char *name) |
270 | { | 272 | { |
271 | struct mipi_dsim_ddi *dsim_ddi, *next; | 273 | struct mipi_dsim_ddi *dsim_ddi, *next; |
@@ -373,6 +375,7 @@ static int exynos_mipi_dsi_probe(struct platform_device *pdev) | |||
373 | dsim->clock = clk_get(&pdev->dev, "dsim0"); | 375 | dsim->clock = clk_get(&pdev->dev, "dsim0"); |
374 | if (IS_ERR(dsim->clock)) { | 376 | if (IS_ERR(dsim->clock)) { |
375 | dev_err(&pdev->dev, "failed to get dsim clock source\n"); | 377 | dev_err(&pdev->dev, "failed to get dsim clock source\n"); |
378 | ret = -ENODEV; | ||
376 | goto err_clock_get; | 379 | goto err_clock_get; |
377 | } | 380 | } |
378 | 381 | ||
@@ -381,6 +384,7 @@ static int exynos_mipi_dsi_probe(struct platform_device *pdev) | |||
381 | res = platform_get_resource(pdev, IORESOURCE_MEM, 0); | 384 | res = platform_get_resource(pdev, IORESOURCE_MEM, 0); |
382 | if (!res) { | 385 | if (!res) { |
383 | dev_err(&pdev->dev, "failed to get io memory region\n"); | 386 | dev_err(&pdev->dev, "failed to get io memory region\n"); |
387 | ret = -ENODEV; | ||
384 | goto err_platform_get; | 388 | goto err_platform_get; |
385 | } | 389 | } |
386 | 390 | ||
@@ -405,6 +409,7 @@ static int exynos_mipi_dsi_probe(struct platform_device *pdev) | |||
405 | dsim_ddi = exynos_mipi_dsi_bind_lcd_ddi(dsim, dsim_pd->lcd_panel_name); | 409 | dsim_ddi = exynos_mipi_dsi_bind_lcd_ddi(dsim, dsim_pd->lcd_panel_name); |
406 | if (!dsim_ddi) { | 410 | if (!dsim_ddi) { |
407 | dev_err(&pdev->dev, "mipi_dsim_ddi object not found.\n"); | 411 | dev_err(&pdev->dev, "mipi_dsim_ddi object not found.\n"); |
412 | ret = -EINVAL; | ||
408 | goto err_bind; | 413 | goto err_bind; |
409 | } | 414 | } |
410 | 415 | ||