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


Groups > linux.kernel > #1623565

Re: USB Type-C Port Manager API concern

From Mats Karrman <mats.dev.list@gmail.com>
Newsgroups linux.kernel
Subject Re: USB Type-C Port Manager API concern
Date 2017-04-14 10:40 +0200
Message-ID <tw4VP-7gB-3@gated-at.bofh.it> (permalink)
References (8 earlier) <tiC1k-1GK-5@gated-at.bofh.it> <tu7Oa-3lR-5@gated-at.bofh.it> <tumNb-4uW-5@gated-at.bofh.it> <tusfT-8ec-7@gated-at.bofh.it> <tvZCN-3NY-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

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


Thread

Re: USB Type-C Port Manager API concern Guenter Roeck <linux@roeck-us.net> - 2017-04-14 05:00 +0200
  Re: USB Type-C Port Manager API concern Mats Karrman <mats.dev.list@gmail.com> - 2017-04-14 10:40 +0200

csiph-web