PD#SWPL-184201
Problem:
mod_delayed_work in adc_keypad needs to be canceled
during suspend, otherwise the saradc mutex may be held
by adc_keypad for a long time (up to 100 milliseconds)
when saradc resumes.
Solution:
Cancel mod_delayed_work when suspending.
Verify:
S6/BL201
Change-Id: If4404bc8a952eb552dc2a7492f2bebf3da1fc007
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
(cherry picked from commit b0d3ac80a735f2291d51b6efa00aa3df20060960)
PD#SWPL-160436
Problem:
Adjust according to the adjustment of adc interface.
Solution:
Voltage units adjusted to millivolts.
Verify:
SC2/AH212 SM1/AC200
Change-Id: I35d1cb4578dac5df65ac0048e903d3dc7e1988e8
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
PD#SWPL-226863
Problem:
882e detect start/recv bit error
Solution:
set signal free time to 7bit period
Verify:
t7c
Change-Id: I54fe3697ea2e446f5556c60a1b07437d72b2bdfd
Signed-off-by: bowen cheng <bowen.cheng@amlogic.com>
PD#SWPL-223331
Problem:
support lcevc for kernel 6.12
Solution:
support lcevc for kernel 6.12
Verify:
S7D
Change-Id: I1f21c95916472b6e19c96d60d4b4c4cceec721be
Signed-off-by: zhenteng.tian <zhenteng.tian@amlogic.com>
PD#SWPL-226877
Problem:
In k6.12, the phy & power and driver model parts of
the crg drd controller driver is refactored. However
they have some disagreements either with k5.15 driver
or (driver model) k6.12 kernel.
The remove()/shutdown() sequence is wrong.
Solution:
Updates crg drd controller driver to keep sync with
procedures with k5.15 version and k6.12 kernel.
Adjust remove()/shutdown() sequence
Verify:
t6d.
Change-Id: I616700e48e717eb78915c623c754e02f829332e5
Signed-off-by: dian.shao <dian.shao@amlogic.com>
PD#SWPL-218663
Problem:
Wrong Headphone connection state reported during start up;
Solution:
1. decrease the delay time of hp detection after reboot.
Verify:
t5w
Change-Id: I64a90b2934d09045eb9bb2963e2e8bd99368a0e4
Signed-off-by: haiyang.ren <haiyang.ren@amlogic.com>
(cherry picked from commit dac684b9cbe23e46b5209e48e29fece50a16e022)
(cherry picked from commit fb5dfd6ab9)
PD#SWPL-227069
Problem:
video will balck when width scaler down to 1 pixel
Solution:
setting 1 pixel can display
Verify:
t7c
Change-Id: Idfb75c1c96d8d69070b80d3bee6113199e11ada7
Signed-off-by: hai.cao <hai.cao@amlogic.com>
PD#SWPL-189327
Problem:
need key flag info
Solution:
add key flag command
Verify:
s6
Change-Id: If77ae46dfba7c696c1e6093b977d694f7fb2cd97
Signed-off-by: Doosan Baek <doosan.baek@amlogic.com>
(cherry picked from commit aee0ed53b6)
PD#SWPL-161936
Problem:
The 'kt_ret' bits in 'KT_REE_CFG' must not be checked
because the 'kt_ret' bits have an invalid value
without performing the keytable configuration.
Solution:
remove the routine checking kt_ret in aml_kt_get_status.
Verify:
SC2
Change-Id: Ifa3b82c3fa620e1cdc8da6c62da075305045acad
Signed-off-by: Doosan Baek <doosan.baek@amlogic.com>
(cherry picked from commit dabf12f7b3)
PD#SWPL-149012
Problem:
KL driver should be able to check
if KL's fuse is okay without M2M or descrambler in REE.
Solution:
add etsi challenge-response function
Verify:
T5D
Change-Id: I8492896086ba3e6e4701ee4511794e803ed6d900
Signed-off-by: Doosan Baek <doosan.baek@amlogic.com>
(cherry picked from commit d7d4979d9d)
PD#SWPL-148195
Problem:
In the case of IV, aml_kt_invalidate does not have a return value,
resulting in an error return value.
Solution:
In the case of IV, aml_kt_invalidate is not performed,
so the return value is always successful.
Verify:
S4D metacas
Change-Id: I4fe59ce4f1d94486dbf3a00e72f611db3bc7b4f4
Signed-off-by: Doosan Baek <doosan.baek@amlogic.com>
(cherry picked from commit 9aa414bc72)
PD#SWPL-196630
Problem:
Need to simulate SARADC pin as GPIO.
Solution:
Voltage units adjusted to millivolts.
Verify:
T6D/BR301
Change-Id: I43ff3fd0c97e5d6381e42aee7d02f6b7bf5d7ea5
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
PD#SWPL-167411
Problem:
Optimize code to reduce invalid calls to mbox.
Solution:
Only the old version of bl30 (arm core) needs to configure mbox.
Verify:
SC2/AH212
Change-Id: Ib8781930453fe8fadffd39b73c477750857dd86a
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
PD#SWPL-226593
Problem:
amvecm and dv need get osd status
Solution:
add get osd status callback
Verify:
s7/s7d/s6/t6d
Test:
DRM-OSD-84
Change-Id: If34418241f821bf34c7d999c33a31df28eb6d911
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
PD#SWPL-222902
Problem:
dsp need to reset when dsp hang
Solution:
add reset function when dsp panic
Verify:
a5
Change-Id: I3203af2530026098d929c32558abafcf328a17d5
Signed-off-by: Liming Xue <liming.xue@amlogic.com>
PD#SWPL-217775
Problem:
Potentially overflowing expression around operator [ * ],
which is evaluated using 4 byte arithmetic, and then used
in a context that expects an expression of 8 bytes type.
Solution:
Change long to int.
Verify:
SC2/AH212
Change-Id: I7a1118d21a0e14379a66c4970f2f93ae2740e649
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
(cherry picked from commit 7598a49c8381144da11c07bf1ee3cbbb03ae943b)
PD#SWPL-225609
Problem:
sync memory related patches from 5.15.
Solution:
sync memory related patches from 5.15.
Verify:
local;
Change-Id: I010fa5dc436d486bc46b7d49f8e0b32057c05ac7
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-225609
Problem:
system crash when suspend in hibernate.
Solution:
setup vmap stack for hibernate.
Verify:
s7.
Change-Id: I971c9a3dec8092a49e9531367e99f53775785a3e
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
PD#SWPL-178337
Problem:
In commit I11c0a1588c9a8d7db3987ef7b6444d836fe35cb3,
the max burst of bulk ep of all uvc devices are set
to 0.
Solution:
Do this only for crg host.
Verify:
s905x5m.
Change-Id: I1f716d5b42e88ee5f6be1fc24473bc7dd89f0fe7
Signed-off-by: dian.shao <dian.shao@amlogic.com>
PD#SWPL-227405
Problem:
get dmx pts jump for secure AV
Solution:
get newest pts for secure AV
Verify:
verified at SC2
Change-Id: I107131724db01440ee17a666f90b5a33564fcf3b
Signed-off-by: chuangcheng.peng <chuangcheng.peng@amlogic.com>
PD#SWPL-225792
Problem:
get dvr ts slow
Solution:
adjust the dvr timer flush time to 3ms
Verify:
verified at T5M
Change-Id: Ied0f2fa1366afc0088858e63174fd379540cbf52
Signed-off-by: chuangcheng.peng <chuangcheng.peng@amlogic.com>
PD#SWPL-224597
Problem:
if scaler1 after osdblend, the scaler1 input in yuv domain is non-0 when
raw data alpha is 0, and then vpp_osd_sc_div_alpha is enabled, the osd
capture will get the green screen
Solution:
add new pipeline to support osd1 scaler move to local, the scaler1 will
work on rgb domain
Verify:
s7d
Test:
DRM-OSD-96
Change-Id: Ic383199f131a838ab9f27c8aed68df20447c21e1
Signed-off-by: wenlong.zhang <wenlong.zhang@amlogic.com>
PD#SWPL-225635
Problem:
1.The Audio HAL Format in the driver is missing several
display formats.
Solution:
1.The audio_hal_format is consistent with audio_hal.
All formats can be displayed normally through tinymix
contents.
Verify:
yocto
Change-Id: Idee4cdf477d557bee871dabc8ddd0d7dee18dfbd
Signed-off-by: hui.liu <hui.liu@amlogic.com>
(cherry picked from commit 5551284e6f09be07c3cd4bce5d46b114e1a28848)
PD#SWPL-179512
Problem:
Need to save power when there is no wakeup source.
Solution:
Disable power/clk when no wakeup source.
Verify:
S7D/BM201
Change-Id: I57d7df4079b734c52738777d2f2999743fc6bc3d
Signed-off-by: Huqiang Qin <huqiang.qin@amlogic.com>
(cherry picked from commit bae0c9bb857be17735e4b10aa46862e07423d0bd)
PD#SWPL-228405
Problem:
The variable has not been initialized.
Solution:
add init.
Verify:
coverity scan
Change-Id: I2b3c5d920fee8b6bb70ddb1f23c75e5a4128d9be
Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
(cherry picked from commit 1130cbe2c74ef475a69129653fff15d73b0c7095)