Skip to content

Commit

Permalink
video: fbdev: sunxi: lcd_fb: Rename pwm_apply_state() to pwm_apply_mi…
Browse files Browse the repository at this point in the history
…ght_sleep()
  • Loading branch information
scpcom committed Jul 2, 2024
1 parent 62feeb7 commit 2ce41bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/fbdev/sunxi/lcd_fb/lcd_fb_intf.c
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ int lcd_fb_pwm_set_polarity(uintptr_t p_handler, int polarity)
memset(&state, 0, sizeof(struct pwm_state));
pwm_get_state(pwm_dev, &state);
state.polarity = polarity;
ret = pwm_apply_state(pwm_dev, &state);
ret = pwm_apply_might_sleep(pwm_dev, &state);
lcd_fb_wrn("disp_sys_pwm_Set_Polarity pwm %d, active %s\n",
pwm_dev->pwm, (polarity == 0) ? "high" : "low");
}
Expand Down

0 comments on commit 2ce41bf

Please sign in to comment.