lkml.org 
[lkml]   [2017]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: USB Type-C Port Manager API concern
From
Date
On 04/14/2017 04:57 AM, Guenter Roeck wrote:

> ... Overall I think there is an assumption in any API that any
> callback functions provided in a registration call can immediately be
> called. Otherwise any API would be in trouble. Can you modify your
> code to not require the port pointer in its callback functions ?

Yes, I have deferred my calls until after the registration function has
returned which seems only logical. Thanks, Mats

\
 
 \ /
  Last update: 2017-04-14 10:30    [W:0.130 / U:0.412 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site