[PATCH v1 3/4] usb: usb-uclass.c: Drop le16_to_cpu() as values are already swapped
Bin Meng
bmeng.cn at gmail.com
Fri Jul 17 13:19:31 CEST 2020
On Thu, Jul 2, 2020 at 4:47 PM Stefan Roese <sr at denx.de> wrote:
>
> 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: Stefan Roese <sr at denx.de>
> Cc: Bin Meng <bmeng.cn at gmail.com>
> Cc: Marek Vasut <marex at denx.de>
> ---
>
> drivers/usb/host/usb-uclass.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
Tested-by: Bin Meng <bmeng.cn at gmail.com>
More information about the U-Boot
mailing list