diff options
author | Ville Syrjälä <ville.syrjala@nokia.com> | 2010-04-22 16:50:09 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@nokia.com> | 2010-08-05 09:51:56 -0400 |
commit | d73701044b70924f450fc6b161d952b38b7d0182 (patch) | |
tree | c7ed2796c18f46c38527b2090ed9a2f6e410eddf /drivers/video | |
parent | e406f9079b993f4d5d7b5a3452b11df81ff2aef0 (diff) |
OMAP: DSS2: DSI: Disable interface when disabling the display
Once the DSI PLL is separated from the DSI display a full DSI reset will
not be performed every time the display is enabled so the interface and
VCs must be disabled when disabling the display. If the VCs are not
disabled some register accesses will abort.
Signed-off-by: Ville Syrjälä <ville.syrjala@nokia.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/omap2/dss/dsi.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/dsi.c b/drivers/video/omap2/dss/dsi.c index 6035904f1314..20291570f7a7 100644 --- a/drivers/video/omap2/dss/dsi.c +++ b/drivers/video/omap2/dss/dsi.c | |||
@@ -3068,6 +3068,13 @@ err0: | |||
3068 | 3068 | ||
3069 | static void dsi_display_uninit_dsi(struct omap_dss_device *dssdev) | 3069 | static void dsi_display_uninit_dsi(struct omap_dss_device *dssdev) |
3070 | { | 3070 | { |
3071 | /* disable interface */ | ||
3072 | dsi_if_enable(0); | ||
3073 | dsi_vc_enable(0, 0); | ||
3074 | dsi_vc_enable(1, 0); | ||
3075 | dsi_vc_enable(2, 0); | ||
3076 | dsi_vc_enable(3, 0); | ||
3077 | |||
3071 | dss_select_dispc_clk_source(DSS_SRC_DSS1_ALWON_FCLK); | 3078 | dss_select_dispc_clk_source(DSS_SRC_DSS1_ALWON_FCLK); |
3072 | dss_select_dsi_clk_source(DSS_SRC_DSS1_ALWON_FCLK); | 3079 | dss_select_dsi_clk_source(DSS_SRC_DSS1_ALWON_FCLK); |
3073 | dsi_complexio_uninit(); | 3080 | dsi_complexio_uninit(); |