Skip to content

Commit

Permalink
MIX: LCM: Update, use set_backlight_cmdq because set_backlight isn't …
Browse files Browse the repository at this point in the history
…compatible with MT6757 kernels
  • Loading branch information
jmpfbmx committed Aug 7, 2020
1 parent 7c515e5 commit 332c0e3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ static unsigned int lcm_compare_id(void)

}

static void lcm_setbacklight(unsigned int level)
static void lcm_setbacklight_cmdq(void *handle, unsigned int level)
{
//unsigned int data_array[16];
unsigned int default_level = 50;
Expand Down Expand Up @@ -441,6 +441,6 @@ LCM_DRIVER hct_rm67120_dsi_vdo_hd_gvo =
.suspend = lcm_suspend,
.resume = lcm_resume,
.compare_id = lcm_compare_id,
.set_backlight = lcm_setbacklight,
.set_backlight_cmdq = lcm_setbacklight_cmdq,
};

0 comments on commit 332c0e3

Please sign in to comment.