[PATCH 2/2] vga_switcheroo: Add the support for audio clients

Alan Cox alan at lxorguk.ukuu.org.uk
Thu May 10 04:20:05 PDT 2012


On Thu, 10 May 2012 09:10:16 +0200
Takashi Iwai <tiwai at suse.de> wrote:

> Add the support for audio clients to VGA-switcheroo for handling the
> HDMI audio controller together with VGA switching.  The id of the
> audio controller should be given explicity at registration time unlike
> the video controller.

It would I think be a lot cleaner and more future proof to pass a 

struct hdmi_audio_switch_ops

or some similar named object with an array of function pointers ?

Alan


More information about the dri-devel mailing list