Permalink
Browse files

Revert "Fix dancing cwm"

This reverts commit 34f059e.
  • Loading branch information...
1 parent 14ad6f7 commit be501f2ae6bb60d0bd1da11df52f1e651b833885 @Kra1o5 committed Oct 15, 2013
Showing with 0 additions and 8 deletions.
  1. +0 −8 drivers/video/msm/msm_fb.c
@@ -84,7 +84,6 @@ static unsigned char *fbram;
static unsigned char *fbram_phys;
static int fbram_size;
static boolean bf_supported;
-static bool align_buffer = false;
static struct platform_device *pdev_list[MSM_FB_MAX_DEV_LIST];
static int pdev_list_cnt;
@@ -1147,11 +1146,6 @@ int calc_fb_offset(struct msm_fb_data_type *mfd, struct fb_info *fbi, int bpp)
struct msm_panel_info *panel_info = &mfd->panel_info;
int remainder, yres, offset;
- if (!align_buffer)
- {
- return fbi->var.xoffset * bpp + fbi->var.yoffset * fbi->fix.line_length;
- }
-
if (panel_info->mode2_yres != 0) {
yres = panel_info->mode2_yres;
remainder = (fbi->fix.line_length*yres) & (PAGE_SIZE - 1);
@@ -4339,8 +4333,6 @@ int msm_fb_v4l2_update(void *par,
}
EXPORT_SYMBOL(msm_fb_v4l2_update);
-module_param(align_buffer, bool, 0644);
-
module_init(msm_fb_init);
#ifdef CONFIG_HUAWEI_EVALUATE_POWER_CONSUMPTION
module_exit(msm_fb_exit);

0 comments on commit be501f2

Please sign in to comment.