osd: fix osd coverity error

PD#174272: osd: fix osd coverity error

Change-Id: I7eb1c40b9453f85c618b9bd3f2112eb854ff9ef7
Signed-off-by: Jian Cao <jian.cao@amlogic.com>
This commit is contained in:
Jian Cao
2018-09-29 09:46:57 +08:00
committed by Jianxin Pan
parent e2ebe8b292
commit 23d7e040b2

View File

@@ -7524,7 +7524,8 @@ static void osd_basic_update_disp_geometry(u32 index)
/* set frame addr in linear: out_addr_id */
headr_addr = osd_hw.osd_afbcd[index].phy_addr;
out_addr = osd_hw.osd_afbcd[index].out_addr_id << 24;
out_addr = ((u64)osd_hw.osd_afbcd[index].out_addr_id)
<< 24;
/* 0:canvas_araddr
* 1:linear_araddr
*/