leds-ws2812b: set reset code len to 14 bytes to fix spi-dma timeout

(cherry picked from commit 4e7dacadf2)
This commit is contained in:
hanwckf 2022-12-26 17:53:48 +08:00 committed by Tianling Shen
parent c334de328d
commit 33746fc48d
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -21,7 +21,7 @@
#define WS2812B_BYTES_PER_COLOR 3
#define WS2812B_NUM_COLORS 3
/* A continuous 0 for 50us+ as the 'reset' signal */
#define WS2812B_RESET_LEN 18
#define WS2812B_RESET_LEN 14
struct ws2812b_led {
struct led_classdev_mc mc_cdev;