projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5efc5a4
)
amlogic: osd: Fix self assign warnings
author
Stricted
<info@stricted.net>
Sat, 19 Jun 2021 23:05:13 +0000
(23:05 +0000)
committer
Nolen Johnson
<johnsonnolen@gmail.com>
Sat, 3 Jul 2021 01:04:31 +0000
(21:04 -0400)
Change-Id: Ib7cbf268dcaf9115c423f5fea3eb88c5819aea24
drivers/amlogic/media/osd/osd_hw.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/amlogic/media/osd/osd_hw.c
b/drivers/amlogic/media/osd/osd_hw.c
index a78a53141b30e213cf27e7ad78b0bd4647d02fde..6aa44fa2256828651e1af4288ae9b5681af5790c 100644
(file)
--- a/
drivers/amlogic/media/osd/osd_hw.c
+++ b/
drivers/amlogic/media/osd/osd_hw.c
@@
-1857,8
+1857,7
@@
static u32 line_stride_calc(
/* need wr ddr is 32bytes aligned */
if (stride_align_32bytes)
line_stride = ((line_stride+1)>>1)<<1;
- else
- line_stride = line_stride;
+
return line_stride;
}
@@
-1889,8
+1888,7
@@
static u32 line_stride_calc_afbc(
/* need wr ddr is 32bytes aligned */
if (stride_align_32bytes)
line_stride = ((line_stride+1) >> 1) << 1;
- else
- line_stride = line_stride;
+
return line_stride;
}