pastebin - collaborative debugging tool
eckelmann.kpaste.net RSS


remove pwm_disable from bl driver
Posted by Anonymous on Wed 6th Feb 2019 12:58
raw | new post

  1. diff --git a/drivers/video/backlight/pwm_bl.c b/drivers/video/backlight/pwm_bl.c
  2. index bdfcc0a71db1..4b58014a1821 100644
  3. --- a/drivers/video/backlight/pwm_bl.c
  4. +++ b/drivers/video/backlight/pwm_bl.c
  5. @@ -80,7 +80,6 @@ static void pwm_backlight_power_off(struct pwm_bl_data *pb)
  6.         msleep(pb->pwm_off_delay);
  7.  
  8.     pwm_config(pb->pwm, 0, pb->period);
  9. -   pwm_disable(pb->pwm);
  10.  
  11.     regulator_disable(pb->power_supply);
  12.     pb->enabled = false;

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}





All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at