Re: [PATCH 2/8] usb: typec: Rationalize the API for the muxes

2019-01-28 Thread Heikki Krogerus
On Mon, Jan 28, 2019 at 11:50:31AM +0200, Andy Shevchenko wrote: > On Fri, Jan 25, 2019 at 3:18 PM Heikki Krogerus > wrote: > > > > We can replace the second parameter that is passed to the > > typec_mux_get() function with alt mode description > > structure, and simply pass NULL with accessory mo

Re: [PATCH 2/8] usb: typec: Rationalize the API for the muxes

2019-01-28 Thread Andy Shevchenko
On Fri, Jan 25, 2019 at 3:18 PM Heikki Krogerus wrote: > > We can replace the second parameter that is passed to the > typec_mux_get() function with alt mode description > structure, and simply pass NULL with accessory modes. > > With accessory modes there is no need for additional > identificatio

[PATCH 2/8] usb: typec: Rationalize the API for the muxes

2019-01-25 Thread Heikki Krogerus
We can replace the second parameter that is passed to the typec_mux_get() function with alt mode description structure, and simply pass NULL with accessory modes. With accessory modes there is no need for additional identification (in practice the accessory mode can only be Audio Accessory if muxi