lkml.org 
[lkml]   [2018]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 03/12] usb: typec: API for controlling USB Type-C Multiplexers
On Fri, Feb 16, 2018 at 12:47 PM, Hans de Goede <hdegoede@redhat.com> wrote:
> USB Type-C connectors consist of various muxes and switches
> that route the pins on the connector to the right locations.
> The USB Type-C drivers need to be able to control the muxes,
> as they are the ones that know things like the cable plug
> orientation, and the current mode that was negotiated with
> the partner.
>
> This introduces a small API for registering and controlling
> cable plug orientation switches, and separate small API for
> registering and controlling pin multiplexer/demultiplexer
> switches that are needed with Accessory/Alternate Modes.

> + sw = __device_find_connection(dev, "typec-switch", NULL,
> + typec_switch_match);

Perhaps one line? (even if it takes ~83 characters)

--
With Best Regards,
Andy Shevchenko

\
 
 \ /
  Last update: 2018-02-16 15:01    [W:1.292 / U:0.976 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site