Skip to content

Commit

Permalink
drivers: video: msm: lcdc_ancora: Remove deprecated cpufreg control
Browse files Browse the repository at this point in the history
* lcd drivers can't control cpufreq directly
* modern lcd drivers dont use this way
* kernel cpufreq driver is controlling clocks while waking up from sleep itself
  • Loading branch information
sirmordred committed Jul 12, 2015
1 parent f83ca9f commit a5e4596
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/video/msm/lcdc_samsung_ancora.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ static int delayed_backlight_value = -1;
static boolean First_Disp_Power_On = FALSE;
static int lcd_brightness = -1;

extern unsigned long acpuclk_usr_set_max(void);

static struct samsung_state_type samsung_state = { .brightness = 180 };
static struct msm_panel_common_pdata *lcdc_samsung_pdata;
extern unsigned int board_lcd_hw_revision;
Expand Down Expand Up @@ -697,7 +695,6 @@ static int lcdc_samsung_panel_on(struct platform_device *pdev)
pr_info("%s\n", __func__);
if (!samsung_state.disp_initialized) {

acpuclk_usr_set_max();
lcdc_samsung_pdata->panel_config_gpio(1);
samsung_spi_init();
samsung_disp_powerup();
Expand Down Expand Up @@ -1073,7 +1070,6 @@ static int lcdc_samsung_panel_on_esd(struct platform_device *pdev)
pr_info("%s\n", __func__);
if (!samsung_state.disp_initialized) {

acpuclk_usr_set_max();
lcdc_samsung_pdata->panel_config_gpio(1);
samsung_spi_init();
samsung_disp_powerup();
Expand Down

0 comments on commit a5e4596

Please sign in to comment.