[PATCH v2 1/4] usb: xhci: Add missing endian conversions (cpu_to_leXX / leXX_to_cpu)

Stefan Roese sr at denx.de
Tue Jul 21 10:39:29 CEST 2020


Hi Bin,

On 20.07.20 03:48, Bin Meng wrote:
> Hi Stefan,
> 
> On Sat, Jul 18, 2020 at 2:22 AM Stefan Roese <sr at denx.de> wrote:
>>
>> Hi Bin,
>>
>> On 17.07.20 16:14, Bin Meng wrote:
>>> Hi Stefan,
>>>
>>> On Fri, Jul 17, 2020 at 10:04 PM Stefan Roese <sr at denx.de> wrote:
>>>>
>>>> While trying to use the U-Boot xHCI driver on the MIPS Octeon platform,
>>>> which is big endian, I noticed that the driver is missing a few endian
>>>> conversion calls. This patch adds these missing endian conversion
>>>> calls.
>>>>
>>>> Signed-off-by: Stefan Roese <sr at denx.de>
>>>> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
>>>> Cc: Bin Meng <bmeng.cn at gmail.com>
>>>> Cc: Marek Vasut <marex at denx.de>
>>>> ---
>>>> v2:
>>>> - Add missing (uintptr_t) cast to remove compile time warning
>>>>
>>>>    drivers/usb/host/xhci-mem.c | 9 +++++----
>>>>    1 file changed, 5 insertions(+), 4 deletions(-)
>>>
>>> Tested-by: Bin Meng <bmeng.cn at gmail.com>
>>>
>>> Only this patch is sent as v2?
>>
>> Yes. I didn't want to pollute the list with unneeded patches. If you
>> prefer a complete patchset in the new version, then I can of course
>> do as as well.
> 
> IMHO it would be good for maintainers to apply this whole series from
> patchwork in a batch if we send the complete series.

No problem. v2 series will be out shortly.

Thanks,
Stefan


More information about the U-Boot mailing list