HI ,
There is an error in lp5562 linux driver where it checks for program length commands. When I tried to send all the 16 commands through the led_pattern, the size check fails.
This function _is_pc_overflow checking for ">=" should be chagned to ">". Can somebody please confirm.
static inline bool _is_pc_overflow(struct lp55xx_predef_pattern *ptn)
{
return (ptn->size_r >= LP5562_PROGRAM_LENGTH ||
ptn->size_g >= LP5562_PROGRAM_LENGTH ||
ptn->size_b >= LP5562_PROGRAM_LENGTH);
}
Thanks,