Skip to content

Commit 2ce41bf

Browse files
committed
video: fbdev: sunxi: lcd_fb: Rename pwm_apply_state() to pwm_apply_might_sleep()
1 parent 62feeb7 commit 2ce41bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/video/fbdev/sunxi/lcd_fb/lcd_fb_intf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ int lcd_fb_pwm_set_polarity(uintptr_t p_handler, int polarity)
541541
memset(&state, 0, sizeof(struct pwm_state));
542542
pwm_get_state(pwm_dev, &state);
543543
state.polarity = polarity;
544-
ret = pwm_apply_state(pwm_dev, &state);
544+
ret = pwm_apply_might_sleep(pwm_dev, &state);
545545
lcd_fb_wrn("disp_sys_pwm_Set_Polarity pwm %d, active %s\n",
546546
pwm_dev->pwm, (polarity == 0) ? "high" : "low");
547547
}

0 commit comments

Comments
 (0)