On Wed, 22 May 2019, Laurentiu Tudor wrote:
> >> +EXPORT_SYMBOL_GPL(usb_hcd_setup_local_mem);
> >
> > If you have a usb_hcd_setup_local_mem() function then you should also
> > have a usb_hcd_remove_local_mem() function.
>
> Even if all resources that are allocated are device managed?
Ah, I miss
On 21.05.2019 18:27, Fredrik Noring wrote:
> Thanks Laurentiu!
>
>> --- a/include/linux/usb/hcd.h
>> +++ b/include/linux/usb/hcd.h
>> @@ -216,6 +216,9 @@ struct usb_hcd {
>> #defineHC_IS_RUNNING(state) ((state) & __ACTIVE)
>> #defineHC_IS_SUSPENDED(state) ((state) & __SUSPEND)
>>
>
Hello Alan,
On 21.05.2019 20:20, Alan Stern wrote:
> On Tue, 21 May 2019 laurentiu.tu...@nxp.com wrote:
>
>> From: Laurentiu Tudor
>>
>> For HCs that have local memory, replace the current DMA API usage
>> with a genalloc generic allocator to manage the mappings for these
>> devices. To help use
On Tue, 21 May 2019 laurentiu.tu...@nxp.com wrote:
> From: Laurentiu Tudor
>
> For HCs that have local memory, replace the current DMA API usage
> with a genalloc generic allocator to manage the mappings for these
> devices. To help users, introduce a new HCD API,
> usb_hcd_setup_local_mem() tha
Thanks Laurentiu!
> --- a/include/linux/usb/hcd.h
> +++ b/include/linux/usb/hcd.h
> @@ -216,6 +216,9 @@ struct usb_hcd {
> #define HC_IS_RUNNING(state) ((state) & __ACTIVE)
> #define HC_IS_SUSPENDED(state) ((state) & __SUSPEND)
>
> + /* allocator for HCs having local memory */
>
5 matches
Mail list logo