All of lore.kernel.org
 help / color / mirror / Atom feed
* Using HDA on an SoC without PCI
@ 2014-02-14 17:47 Dylan Reid
  2014-02-14 18:01 ` Stephen Warren
  0 siblings, 1 reply; 4+ messages in thread
From: Dylan Reid @ 2014-02-14 17:47 UTC (permalink / raw)
  To: alsa-devel; +Cc: Takashi Iwai, Stephen Warren

Hi,

I'm working on an system with an HDMI codec on an HDA interface, but
that interface doesn't use PCI.  I want to re-use as much of the code
as possible, but I want to avoid scattering ifdefs all over
hda_intel.c.

Would gathering the pci specific functions from hda_intel.c into an
interface struct of some kind make sense?  If azx was probed from pci,
then a pci interface would be used, if it was a platform driver, then
the correct interface for the platform would be used.  It would add
some overhead to operations such as azx_writel, but that would be
measured to make sure it isn't detrimental to performance.

Any other ideas on how to approach this?

Thanks,

Dylan

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-02-14 20:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-14 17:47 Using HDA on an SoC without PCI Dylan Reid
2014-02-14 18:01 ` Stephen Warren
2014-02-14 18:50   ` Dylan Reid
2014-02-14 20:13   ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.