lcd: calculate line_length after lcd_ctrl_init()