mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 13:27:06 +09:00
lcd: optimize unifykey read flow to avoid crash [1/1]
PD#SWPL-4682 Problem: lcd wait unifykey init timeout and read unifykey will crash Solution: incrase wait unifykey init time, and add read protection Verify: x301 Change-Id: Ib86a2b3b0c6c1491606404358420fd213dcfdaa8 Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com> Conflicts: drivers/amlogic/media/vout/lcd/lcd_common.h drivers/amlogic/media/vout/lcd/lcd_tcon.c drivers/amlogic/media/vout/lcd/lcd_vout.c
This commit is contained in:
@@ -18,7 +18,8 @@
|
||||
#ifndef _INC_AML_LCD_UNIFYKEY_H__
|
||||
#define _INC_AML_LCD_UNIFYKEY_H__
|
||||
|
||||
#define LCD_UNIFYKEY_WAIT_TIMEOUT 300
|
||||
#define LCD_UNIFYKEY_WAIT_TIMEOUT 500
|
||||
#define LCD_UNIFYKEY_RETRY_INTERVAL 20 /* ms */
|
||||
|
||||
/* declare external unifykey function */
|
||||
extern void *get_ukdev(void);
|
||||
|
||||
Reference in New Issue
Block a user