dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Takashi Iwai <tiwai@suse.de>
Cc: dri-devel@lists.freedesktop.org
Subject: Re: [PATCH 2/2] vga_switcheroo: Add the support for audio clients
Date: Thu, 10 May 2012 12:20:05 +0100	[thread overview]
Message-ID: <20120510122005.4d98d8cf@pyramind.ukuu.org.uk> (raw)
In-Reply-To: <s5h4nrowlyf.wl%tiwai@suse.de>

On Thu, 10 May 2012 09:10:16 +0200
Takashi Iwai <tiwai@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

  parent reply	other threads:[~2012-05-10 11:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-10  7:08 [PATCH 0/2] Audio client support for VGA-switcheroo Takashi Iwai
2012-05-10  7:09 ` [PATCH 1/2] vga_switcheroo: Refactor using linked list Takashi Iwai
2012-05-10  7:10 ` [PATCH 2/2] vga_switcheroo: Add the support for audio clients Takashi Iwai
2012-05-10  8:23   ` Paul Menzel
2012-05-10  8:44     ` Takashi Iwai
2012-05-10 10:40   ` Dave Airlie
2012-05-10 11:43     ` Takashi Iwai
2012-05-10 11:20   ` Alan Cox [this message]
2012-05-10 11:42     ` Takashi Iwai
2012-05-10 18:42       ` Takashi Iwai
2012-05-10 19:05         ` Dave Airlie
2012-05-10 19:26           ` Takashi Iwai
2012-05-10  7:18 ` [PATCH 0/2] Audio client support for VGA-switcheroo Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120510122005.4d98d8cf@pyramind.ukuu.org.uk \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox