PD#SWPL-7680
Problem:
mdelay will pend the system
Solution:
change mdelay to usleep_range
Verify:
HW verify
Change-Id: I8452dc7b1056378dbc6b743fc43316eccbf525a5
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
Conflicts:
sound/soc/codecs/amlogic/tas5805.c
PD#TV-3933
Problem:
Tl1 acodec has pop sound when first sound appear.
Solution:
Disable the DAPM which disable/enable every time
start/stop the audio stream.
Verify:
Tl1 X301.
Change-Id: Iaaf7da125de513bd8297f6c6e41af0a42c9d25bd
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
PD#SWPL-4345
Problem:
The tl1_acodec_probe operation takes 340ms time
Solution:
Using workqueue to replace the msleep func
Verify:
verify on T962x2_X309 board
Change-Id: I5316beb8a0e94ae022c948ec112b6fb219050212
Signed-off-by: Shuyu Li <shuyu.li@amlogic.com>
PD#SWPL-13728
Problem:
when enable DACL_EN and DACR_EN, it will has pop sound
Solution:
Only enable DACL_EN and DACR_EN once at probe function
Verify:
U212
Change-Id: I0f26977ad5d9b86df264069f8732ddb44615cc09
Signed-off-by: jian.zhou <jian.zhou@amlogic.com>
PD#SWPL-11716
Problem:
some audio source has no license
Solution:
add license for audio source file
Verify:
verify by locally
Change-Id: I85e7a27a724f1d255e38f4a878475b38abc1dfd4
Signed-off-by: jiejing.wang <jiejing.wang@amlogic.com>
PD#OTT-3760, PD#SWPL-8309
Problem:
startup ott, cvbs out with pop noise
Solution:
Set gpio init low
Verify:
verified by franklin
Change-Id: Ieb33e72473055fad69bc8e9a68ed0b0552e9f029
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
PD#TV-6005
Problem:
change time sequence for extern AMP
Solution:
1) enable tdm clk before codec init, when system resume
Verify:
test on X301
Change-Id: I3d6411cd32fbc3496bed942c72b7bec408d66959
Signed-off-by: Zhe Wang <Zhe.Wang@amlogic.com>
PD#TV-9100
Problem:
1.optimize calls with other modules.
Solution:
1.optimize calls with other modules.
2.add ext file interacts with other modules.
3.add sync to prevent NULL pointer crashes.
Verify:
Verified by x301
Change-Id: Id1930400454b020616e0c669cae5f473f498b6de
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
PD#TV-7783
Problem:
fix non-standard signal.
Solution:
1.fix non-standard signal when channel scanning and playing.
2.disable demod afc when enable non standard.
Verify:
Verified by x301
Change-Id: I177e6eb5388e554e3166a65e23e3b7bdefac3e97
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
PD#TV-8035
Problem:
snowflake display is not stable when no signal
Solution:
separate avt playing or search
Verify:
x301
Change-Id: I4364d4af533704074a74e7d3b9522df461233f48
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
PD#TV-8131
Problem:
fix synchronization problem when get frontend.
Solution:
1.fix synchronization problem when get frontend.
Verify:
Verified by x301
Change-Id: Ic0580a83448fe75529615ffa08cb526e205ef9a8
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
PD#TV-7462
Problem:
after afc adjusts freq and stable, sync to settings to get freq.
Solution:
1.after afc adjusts freq and stable, sync to settings to get freq.
Verify:
Verified by x301
Change-Id: Id78a7f974345fd428f9bb185c36fcbe7b93f4ac2
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
PD#TV-7335
Problem:
add nicam detection when current signal fm-mono change to nicam.
Solution:
1.add nicam detection when current signal fm-mono change to nicam.
Verify:
Verified by x301
Change-Id: If2e35d018d2df803c5458cc93974352b06e90a11
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
PD#SWPL-9934
Problem:
1.audio control calls crash on a non-tl1 platform.
1.fix atv audio control interface.
Solution:
1.fix atv audio control interface.
Verify:
Verified by r311 and x301.
Change-Id: Ib6d58cec96e7d57e1bfd8ae18524dcb5517c317e
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
PD#TV-6044, PD#TV-6047
Problem:
ATV sound output has noise when input non standard signal.
Solution:
1.fix atv non standard signal audio handle.
2.remove atv audio source selection in audio module.
3.atv demod selects audio source according to signal.
4.atv demod version: V2.12.
Verify:
Verified by x301
Change-Id: Ie0fce492f1ce7f5a5866d8674c95c97ee32452c0
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
PD#SWPL-5661, PD#SWPL-5659
Problem:
1.add gain register to control the L and R channel audio gain.
2.add atv interrupt for signal lock and unlock.
Solution:
1.add gain register to control the L and R channel audio gain.
2.add atv interrupt for signal lock and unlock.
Verify:
verified by ab301 and ab311.
Change-Id: I8a7cbe538939dd9418e27165d4c83a8f473f119b
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
Conflicts:
arch/arm64/boot/dts/amlogic/tm2_t962x3_ab301.dts
PD#TV-6452, PD#TV-6643, PD#TV-6144
Problem:
fix frequency closer when channel searching.
Solution:
1.fix frequency closer when channel searching.
2.Frequency offset cause errors in CVBS or audio recognition.
Verify:
Verified by x301
Change-Id: Ieab13a5b5d8d901cfc61ea09e5e47eb9e938bf34
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
PD#TV-4274
Problem:
fix audio config (PAL_M, NTSC_M) when video is PAL.
Solution:
fix audio config (PAL_M, NTSC_M) when video is PAL
Verify:
verified by x301.
Change-Id: I9be8d71d52a226b6422317be0b77ca6331f23147
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
PD#SWPL-6165
Problem:
TL1 vdee power too high when shutdown
Solution:
close bandgap when shut down for tl1
close vafe ctrl
close adc pll
Verify:
X301
Change-Id: I374bbe09ecdd456ea07f1fda3391acd4ab0bc949
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
Conflicts:
drivers/amlogic/media/vout/vdac/vdac_dev.c
PD#TV-1539
Problem:
modify atv demod support multi tuner load.
Solution:
1.add fine tune.
2.add set/get if info.
3.add tuner type set/get.
4.add multi tuner config in dts.
5.atv demod ver: V2.09.
Verify:
verified by x301
Change-Id: I23328bfab3d3508db67cef3e327002563eb1a87e
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
PD#SWPL-2297, PD#SWPL-5450, PD#TV-2311
Problem:
Fix ATV audio output noise when switching channels to play.
Solution:
1.Add the judgment of SNR to prevent the weak signal
from entering the OV mode.
2.Wait for the signal to be completely stable before OV detection.
3.OV detection is turned off by default,
and will be turned on again when non-standard signals are encountered.
4.The OV detection moves from afc timer to monitor.
5.Optimize detection of A2/FM.
6.atv demod ver: V2.08.
Verify:
verified by x301
Change-Id: I3064230472ce51e1192a2d08ef6cc6f4ba10abaa
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
PD#TV-1549, PD#TV-2829, PD#TV-2830
Problem:
Fix non standard for analog signal.
Solution:
1.Add non standard config 3 for analog signal.
2.Fix non standard default value.
3.Fix audio control register an bits.
4.After correcting the frequency offset success,
reset tuner to prevent audio from identifying errors.
Verify:
verified by x301
Change-Id: I65335dbe9ce9dc66d4ccaae3c1ff591660790616
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
PD#SWPL-3395
Problem:
recognized fsc358 flag when signal weak
Solution:
increase fsc358-flag recognized threshold
avoid fsc443 be recognized as fsc358
Verify:
verify on x301
Change-Id: I7b759bd0621c153e5abd3dee8fdf55a2426400a7
Signed-off-by: Nian Jing <nian.jing@amlogic.com>
PD#SWPL-4421
Problem:
Tuner crashes easily when fast fine tune
Solution:
Delay afc work to prevent tuner crash
Verify:
verified by x301
Change-Id: I011f7c3f71a30f95a9b7aa371d5fabe71f249051
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
PD#SWPL-3440
Problem:
ATV switch to other source, such as DTV/HDMI/AV, no sound
Solution:
ATV switch to other source, atv demond is disabled when
audio is reading data, so it's blocked.
In normal, ATV sends audio data to FRATV,
then FRATV sends data to audio fifo, then to DDR.
If ATV stops to send audio data, no interrupt from FRATV to fifo,
no data is updated to DDR.
When exit from audio atv patch, it's a block signal to
wait in_read finished, but ATV is disabled
TimeCheckThread will check any routine is blocked,
if there is one, signal SIGABRT would rise and cause audio server restart
So we make a delay before ATV is disabled to waiting audio data is readed.
Verify:
x301
Change-Id: I47dc88d2c8565c16c739ffea69a88152fa4d5f13
Signed-off-by: Xing Wang <xing.wang@amlogic.com>