lkml.org 
[lkml]   [2021]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] media: pwc: Fix the URB buffer allocation
Hi Takashi

> Indeed, looks so. In most cases, this doesn't matter since both point
> to the same device object. In some cases like xhci-plat HCD, they
> differ. And sysdev might be a better choice from the consistency
> POV.
>
> But this brought an interesting question, too. eg. USB chipidea
> HCD uses platform devices for both controller and sysdev, and I
> couldn't find any DMA mask setup. So, no matter what to use, the uwc
> driver would be broken on this... Maybe it's just not covered.

Did you do a git bisect to see what actually broke it? "1161db6776bd:
media: usb: pwc: Don't use coherent DMA buffers for ISO transfer"
introduced the code, not the regression. If we understand the
regression, that might give us the answer about chipidea.

Andrew

\
 
 \ /
  Last update: 2021-02-05 14:20    [W:0.066 / U:0.472 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site