Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1371223

Re: [PATCH] usb: dwc3: keystone: drop dma_mask configuration

From Felipe Balbi <balbi@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH] usb: dwc3: keystone: drop dma_mask configuration
Date 2016-04-05 07:30 +0200
Message-ID <rkrIS-6Ag-31@gated-at.bofh.it> (permalink)
References <rkb1o-2kr-23@gated-at.bofh.it> <rkbb3-2nW-7@gated-at.bofh.it> <rkd3c-3J0-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi,

Grygorii Strashko <grygorii.strashko@ti.com> writes:
> On 04/04/2016 02:45 PM, Felipe Balbi wrote:
>>
>> Hi,
>>
>> Grygorii Strashko <grygorii.strashko@ti.com> writes:
>>> The Keystone 2 supports DT-boot only, as result dma_mask will be
>>> always configured properly from DT -
>>> of_platform_device_create_pdata()->of_dma_configure(). More over,
>>> dwc3-keystone.c can be built as module and in this case it's unsafe to
>>> assign local variable as dma_mask.
>>>
>>> Hence, remove dma_mask configuration code.
>>>
>>> Cc: Murali Karicheri <m-karicheri2@ti.com>
>>> Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
>>
>> with these two patches from you, does USB Peripheral work on k2 devices ?
>
> I've tried CONFIG_USB_DWC3_GADGET=y + g_zero and k2e was detected
> as gzero dev from Host PC
>
>>
>> I'll drop my k2 changes from my series which I sent on saturday.
>>
>
> Yes, please.

can you test a similar patch to dwc3-omap.c, then ?

-- 
balbi

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] usb: dwc3: keystone: drop dma_mask configuration Grygorii Strashko <grygorii.strashko@ti.com> - 2016-04-04 13:40 +0200
  Re: [PATCH] usb: dwc3: keystone: drop dma_mask configuration Felipe Balbi <balbi@kernel.org> - 2016-04-04 13:50 +0200
    Re: [PATCH] usb: dwc3: keystone: drop dma_mask configuration Grygorii Strashko <grygorii.strashko@ti.com> - 2016-04-04 15:50 +0200
      Re: [PATCH] usb: dwc3: keystone: drop dma_mask configuration Felipe Balbi <balbi@kernel.org> - 2016-04-05 07:30 +0200

csiph-web