mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
msm: camera: isp: Fix frame header alignment issue
Update frame header iova correctly so that it's 16 byte aligned. CRs-Fixed: 2751309 Change-Id: I4af0eb5f12bcd92ba40077d9d62a9e308fa06f8d Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
This commit is contained in:
parent
06a9ad0ba4
commit
24c71ea45d
1 changed files with 1 additions and 1 deletions
|
|
@ -6111,7 +6111,7 @@ static int cam_ife_mgr_util_insert_frame_header(
|
|||
/* frame header address needs to be 16 byte aligned */
|
||||
if (frame_header_iova % 16) {
|
||||
padded_bytes = (uint32_t)(16 - (frame_header_iova % 16));
|
||||
iova_addr += padded_bytes;
|
||||
frame_header_iova += padded_bytes;
|
||||
}
|
||||
|
||||
prepare_hw_data->frame_header_iova = frame_header_iova;
|
||||
|
|
|
|||
Loading…
Reference in a new issue