Home
last modified time | relevance | path

Searched hist:"93 ad908c43ed5d8e3e546dd22fa08b668c5090d9" (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/common/
H A Dusb_hub.c93ad908c43ed5d8e3e546dd22fa08b668c5090d9 Thu Sep 06 06:00:13 UTC 2012 Lucas Stach <dev@lynxeye.de> usb: do explicit unaligned accesses

usb_hub_descriptor has to be packed as it's used for
communication with the device. Member wHubCharacteristics
violates the natural alignment rules.

Use explicit unaligned access functions for this member.
Fixes ARMv7 traping while using USB.

v2: fix typo found by Thomas Langer

v3: rebased on top of u-boot-usb/master

Signed-off-by: Lucas Stach <dev@lynxeye.de>
/rk3399_rockchip-uboot/drivers/usb/host/
H A Dehci-hcd.c93ad908c43ed5d8e3e546dd22fa08b668c5090d9 Thu Sep 06 06:00:13 UTC 2012 Lucas Stach <dev@lynxeye.de> usb: do explicit unaligned accesses

usb_hub_descriptor has to be packed as it's used for
communication with the device. Member wHubCharacteristics
violates the natural alignment rules.

Use explicit unaligned access functions for this member.
Fixes ARMv7 traping while using USB.

v2: fix typo found by Thomas Langer

v3: rebased on top of u-boot-usb/master

Signed-off-by: Lucas Stach <dev@lynxeye.de>