Home
last modified time | relevance | path

Searched hist:e290ced6461928697e46c08cd7d9cea63e63c88a (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/usb/gadget/
H A Dcomposite.ce290ced6461928697e46c08cd7d9cea63e63c88a Mon Apr 02 02:29:13 UTC 2018 Frank Wang <frank.wang@rock-chips.com> usb: gadget: skip receipent setup if usb config has not been set

We found the following errors were reported when the rockusb
command is executed.

=============================
RKUSB: LUN 0, dev 0, hwpart 0, sector 0x0, count 0xe90000
"Synchronous Abort" handler, esr 0x96000010
ELR: 22e5e4
LR: 22e5dc
x0 : 0000000000000000 x1 : 0000000000000064
x2 : 0000000000000000 x3 : 00000000ff0c0000
x4 : 0000000000000000 x5 : 0000000000000037
x6 : 000000000000000a x7 : 0000000000000007
x8 : 0000000000000008 x9 : 0000000000000008
...

Resetting CPU ...

It is caused by the null pointer in bmRequestType.Receipent.Device
setup, theoretically, Receipent.Device setup should be handled after
the set_configuration request was finished, so skip it if the usb
configuration has not been set.

Change-Id: I42caf375e8d842ad626d85a6a2a21dfb07fb557a
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>