mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
video/rockchip: rga: Fixup erroneous judgment conditions for scale limit
Change-Id: I9d61e4851d38f8e029ed14ee05699d5dc8b4531e Signed-off-by: Putin Lee <putin.li@rock-chips.com>
This commit is contained in:
@@ -959,7 +959,7 @@ static int rga_blit(rga_session *session, struct rga_req *req)
|
||||
goto err_put_dma_buf;
|
||||
}
|
||||
|
||||
if (((daw >> 3) >= saw) || ((dah >> 3) >= daw)) {
|
||||
if (((daw >> 3) >= saw) || ((dah >> 3) >= sah)) {
|
||||
pr_err("unsupported to scaling more than 8 \n");
|
||||
goto err_put_dma_buf;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user