mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
media: rockchip: hdmirx: modify timing criteria
The hsync of some timings maybe bigger than 300. If get hsync error, it could be very large, so we think that is error if it's bigger than 500. Signed-off-by: Chen Shunqing <csq@rock-chips.com> Change-Id: I57e8b462c3a224ba402d8ab1c20fd2c4c0f77a2c
This commit is contained in:
@@ -671,7 +671,7 @@ static bool hdmirx_check_timing_valid(struct v4l2_bt_timings *bt)
|
||||
bt->height < 100 || bt->height > 5000)
|
||||
return false;
|
||||
|
||||
if (bt->hsync == 0 || bt->hsync > 200 ||
|
||||
if (bt->hsync == 0 || bt->hsync > 500 ||
|
||||
bt->vsync == 0 || bt->vsync > 100)
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user