Skip to content
Commit d96f6e1c authored by Stefan Roese's avatar Stefan Roese Committed by Marek Vasut
Browse files

usb: usb-uclass.c: Drop le16_to_cpu() as values are already swapped



These values are already swapped to CPU endianess, so swapping them
again is a bug. Let's remove the swap here instead.

Signed-off-by: default avatarStefan Roese <sr@denx.de>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
Tested-by: default avatarBin Meng <bmeng.cn@gmail.com>
Cc: Bin Meng <bmeng.cn@gmail.com>
Cc: Marek Vasut <marex@denx.de>
parent 61a1acb5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment