[alsa-devel] [PATCH RFC 7/9] ALSA: usb-audio: conditional interface altsetting

Clemens Ladisch clemens at ladisch.de
Mon Aug 19 12:08:38 CEST 2013


Eldad Zack wrote:
> On some devices, if the endpoint for the other direction is in use,
> setting one interface will shutdown the other (in use) endpoint.

There are (non-UAC) devices where both endpoints are in the same
interface.

> This patch needs revising. It adds a get_interface function, which
> should not be neccesary (possibly unreliable on some devices?).

struct usb_interface has cur_altsetting.


Regards,
Clemens


More information about the Alsa-devel mailing list