diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-03-10 15:25:18 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-03-10 15:25:18 +0900 |
commit | 74aaf024c9a4def24f3eb91a675e4712142d3c87 (patch) | |
tree | 87151eb8253da9d98851ce5756d97c7cfa9c4e97 | |
parent | e161183ba674f97fce748384f5bb037d07bdc5c9 (diff) | |
parent | 467fc4988986865b5dbcc8cc6a86c9b650cb0c6f (diff) | |
download | op-kernel-dev-74aaf024c9a4def24f3eb91a675e4712142d3c87.zip op-kernel-dev-74aaf024c9a4def24f3eb91a675e4712142d3c87.tar.gz |
Merge branch 'sh/stable-updates'
-rw-r--r-- | arch/sh/boards/board-ap325rxa.c | 1 | ||||
-rw-r--r-- | drivers/video/sh_mobile_lcdcfb.c | 6 |
2 files changed, 3 insertions, 4 deletions
diff --git a/arch/sh/boards/board-ap325rxa.c b/arch/sh/boards/board-ap325rxa.c index 72da416..15b6d45 100644 --- a/arch/sh/boards/board-ap325rxa.c +++ b/arch/sh/boards/board-ap325rxa.c @@ -22,6 +22,7 @@ #include <linux/gpio.h> #include <linux/spi/spi.h> #include <linux/spi/spi_gpio.h> +#include <media/soc_camera.h> #include <media/soc_camera_platform.h> #include <media/sh_mobile_ceu.h> #include <video/sh_mobile_lcdc.h> diff --git a/drivers/video/sh_mobile_lcdcfb.c b/drivers/video/sh_mobile_lcdcfb.c index 0e2b8fd..2c5d069 100644 --- a/drivers/video/sh_mobile_lcdcfb.c +++ b/drivers/video/sh_mobile_lcdcfb.c @@ -446,7 +446,6 @@ static void sh_mobile_lcdc_stop(struct sh_mobile_lcdc_priv *priv) { struct sh_mobile_lcdc_chan *ch; struct sh_mobile_lcdc_board_cfg *board_cfg; - unsigned long tmp; int k; /* tell the board code to disable the panel */ @@ -456,9 +455,8 @@ static void sh_mobile_lcdc_stop(struct sh_mobile_lcdc_priv *priv) if (board_cfg->display_off) board_cfg->display_off(board_cfg->board_data); - /* cleanup deferred io if SYS bus */ - tmp = ch->cfg.sys_bus_cfg.deferred_io_msec; - if (ch->ldmt1r_value & (1 << 12) && tmp) { + /* cleanup deferred io if enabled */ + if (ch->info.fbdefio) { fb_deferred_io_cleanup(&ch->info); ch->info.fbdefio = NULL; } |