PD#SWPL-141703
Problem:
The dwc pcd dma unmap direction is wrong for
control transfer.
Solution:
Fix the direction.
Verify:
Local.
Change-Id: I47516c69ef9f42600baa986b1852f4ca5b7f7672
Signed-off-by: dian.shao <dian.shao@amlogic.com>
PD#SWPL-140857
Problem:
linux-meson compile warning while use gcc > 7.5
Solution:
Fixed some code styles
Verify:
local build server
Change-Id: Ia1f47cfa32291602747d7c0788a6362cf48af023
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
PD#SWPL-139422
Problem:
IDT test failed with replacing GKI
Solution:
using kprobe method to solve problem
Verify:
oppen
Change-Id: Iccdbb2d0a8529a43b2df638b2423ce21580319be
Signed-off-by: qi duan <qi.duan@amlogic.com>
PD#SWPL-139422
Problem:
IDT test failed with replacing gki
Solution:
using the kprobe method to solve this problem
Verify:
oppen
Change-Id: I0d640fd1d171f1303a34265a54fd790444a21c90
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
PD#SWPL-136723
Problem:
The cts test reports crg udc related panics originated from recent
regression. The new version of the crg_udc_alloc_request() is not
serialized, when concurrently called, the race condition occurs thus
the used flag is damaged.
Solution:
Protect used flag by atomic operations.
Verify:
a31d2_an400
Change-Id: Iab1e55c60247776a5d7a6b9ac3feb5e5ff4a845c
Signed-off-by: dian.shao <dian.shao@amlogic.com>
PD#SWPL-125412
Problem:
Don't disconnect USB according the U3,
when USB suspend, otherwise will cause disconnect.
Solution:
CRG_UDC: add a module parameter:
eltest_flag for suspend and resume test
Verify:
t3x
Change-Id: Ifc86db9c9cb704c37c9618feac68a2959b152c25
Signed-off-by: Yue Wang <yue.wang@amlogic.com>
PD#SWPL-123725
Problem:
set_usb_phy_trim_tuning cause system stuck,
since the PHY has been shutdown
Solution:
if PHY has been shutdown, set_usb_phy_trim_tuning
need do nothing.
Verify:
t7c
Change-Id: Ibe277b87f30cdcab35e87e18785c6600e01f87e9
Signed-off-by: he.he <he.he@amlogic.com>
PD#SWPL-110463
Problem:
usb power is too high
Solution:
test usb power
Verify:
t5m
Change-Id: I976f1550619d535017abbf59848df2b3089508cb
Signed-off-by: Yue Wang <yue.wang@amlogic.com>
PD#SWPL-118259
Problem:
usb wifi suspend time too long
Solution:
usb wifi suspend time too long
Verify:
T963D4
Change-Id: Ibac60e431b8ac314654a1965a726a6efd7392363
Signed-off-by: Yue Wang <yue.wang@amlogic.com>
PD#SWPL-115828
Problem:
Internal error: Oops - undefined instruction: 0 [#1] PREEMPT SMP ARM
PC is at _raw_spin_unlock_irqrestore
Solution:
the parameter flags of spin_unlock_irqrestore and spin_lock_irqsave
must be the same
Verify:
c3
Change-Id: I71746cdaa3ff55fb3121889566c14b0424e5450d
Signed-off-by: he.he <he.he@amlogic.com>
PD#SWPL-115828
Problem:
1. USB Accessory Test fail, because there is no 0 data package in
the bulk in transmission
2. A deadlock occurred during USB Accessory test
Solution:
1. Queue a trb for 0 length data when need zero length data package;
2. Using spin_lock_irqsave instead of spin_lock.
Verify:
t7c
Change-Id: Ic4810f5a6163e6aa772bfd4d1cc566b33952a5eb
Signed-off-by: he.he <he.he@amlogic.com>
PD#SWPL-112833
Problem:
adb don't work in A1
Solution:
dwc_otg.ko must be insmod after dwc3.ko,
otherwise the device mode will not work
Verify:
sc2, a1
Change-Id: I1a6ed433bebe7a89a464275fd9387fd846df3cb9
Signed-off-by: he.he <he.he@amlogic.com>
PD#SWPL-104483
Problem:
some ssd disk can not work long time because LPM
Solution:
disable LPM for crg usb IP
Verify:
S905Y4
Change-Id: Ic3e92692af9f03bffc60de366133fea403fa7502
Signed-off-by: qi duan <qi.duan@amlogic.com>
PD#SWPL-104754
Problem:
usb support
Solution:
usb support
Verify:
AY309
Change-Id: I696d30dd32b0e21ea81ce86b76928e732e5db6e0
Signed-off-by: Yue Wang <yue.wang@amlogic.com>
PD#SWPL-104754
Problem:
usb support
Solution:
usb support
Verify:
AY309
Change-Id: Icf8f250e59f52d44d655099120ef05cedf495a34
Signed-off-by: Yue Wang <yue.wang@amlogic.com>
PD#SWPL-100740
Problem:
10897 Whitelist.
12436 added a null ptr check.
141141 added a return value check.
225361 Deleted the dead code.
Solution:
10897 Whitelist.
12436 added a null ptr check.
141141 added a return value check.
225361 Deleted the dead code.
Verify:
coverity.
Change-Id: I31a85828a1d0890d06348d415ce5a6da1ac0e932
Signed-off-by: dian.shao <dian.shao@amlogic.com>
PD#SWPL-100843
Problem:
C3 usb adb can not connect.
Solution:
Fix C3 usb adb issue
Verify:
c3 pass
Change-Id: I3f966384222e8e5b212ec92a80af956b5e4200a9
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
PD#SWPL-99116
Problem:
cts: USB Device Test module fail
Solution:
Don't use IDT transmissions for CRG control
Verify:
t3
Change-Id: I45aebbecde50fdb4dd566aa278dd2b61897a9f60
Signed-off-by: Yue Wang <yue.wang@amlogic.com>
PD#SWPL-95000
Problem:
Kernel size is too big
Solution:
Remove some CONFIGs
Verify:
c3 pass
Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
Change-Id: I13303e5e1e967961c6d1cc32a67465c423816276
Signed-off-by: yongbing.he <yongbing.he@amlogic.com>
PD#SWPL-94449
Problem:
for gki, put crg_otg_write_UDC in common_driver
Solution:
put crg_otg_write_UDC in common_driver
Verify:
ah212 aw419
Signed-off-by: qi duan <qi.duan@amlogic.com>
Change-Id: I74a8fefcca65fd0141182ea0be6fe53041905d5d