Re: [PATCH v2 3/3] usb: dwc2: Make dwc2_readl/writel functions endianness-agnostic.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi,

Grigor Tovmasyan <Grigor.Tovmasyan@xxxxxxxxxxxx> writes:
>> @@ -395,6 +412,8 @@ static int dwc2_driver_probe(struct platform_device *dev)
>>   	dev_dbg(&dev->dev, "mapped PA %08lx to VA %p\n",
>>   		(unsigned long)res->start, hsotg->regs);
>>   
>> +	hsotg->needs_byte_swap = dwc2_check_core_endianness(hsotg);
>> +
>>   	retval = dwc2_lowlevel_hw_init(hsotg);
>>   	if (retval)
>>   		return retval;
>> 
>
> I believe this one will work :)

perfectly, I'll push it shortly

> Sorry for inconvenience.

not at all ;) Thanks

-- 
balbi

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux