aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/host/usb-uclass.c
diff options
context:
space:
mode:
authorMarek Vasut2017-09-12 23:02:08 +0200
committerMarek Vasut2017-09-27 12:12:21 +0200
commit7489d22a3c73b527c21c147f3547e8cc02484e47 (patch)
tree334c5057b7e3c32a0f5aeea386f91ff8fa9a3679 /drivers/usb/host/usb-uclass.c
parent9241265f29f3670e380a9859a343ddc14873c46f (diff)
usb: xhci: Set number of event segments and entries to 1
The Linux kernel driver sets the number of event segments and entries to 1 , while the initial import of the xhci code set that values to 3 for reasons unknown. While most controllers are fine with more event segments with more entries, there are standard-conformant controllers (ie. Renesas RCar xHCI) which only support 1 event segment. Set the number of event segments and event entries back to 1 to allow such controllers to work with U-Boot xHCI stack. Note that the Renesas controller correctly indicates ERST Max = 1 in HCSPARAMS2[7:4] . Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/usb/host/usb-uclass.c')
0 files changed, 0 insertions, 0 deletions