Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sshtylyov@ru.mvista.com>
To: Ralf Baechle <ralf@linux-mips.org>,
	Linux-MIPS <linux-mips@linux-mips.org>
Subject: [PATCH] Alchemy: make OSS I2S driver build (resend)
Date: Mon, 09 Oct 2006 20:03:05 +0400	[thread overview]
Message-ID: <452A72B9.80109@ru.mvista.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 299 bytes --]

Alchemy OSS I2S driver (sound/oss/au1550_i2s.c) doesn't build if I2C
driver (drivers/i2c/busses/i2c_au1550.c) is not enabled because
pb1550_wm_codec_write() is defined there (a dirty hack). So, mark that
dependency in sound/oss/Kconfig...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>



[-- Attachment #2: Au1550-I2S-depends-on-I2C.patch --]
[-- Type: text/plain, Size: 585 bytes --]

diff --git a/sound/oss/Kconfig b/sound/oss/Kconfig
index b7bd8ab..07eb4a7 100644
Index: linux-mips/sound/oss/Kconfig
===================================================================
--- linux-mips.orig/sound/oss/Kconfig
+++ linux-mips/sound/oss/Kconfig
@@ -121,6 +121,9 @@ config SOUND_AU1550_AC97
 config SOUND_AU1550_I2S
 	tristate "Au1550 I2S Sound"
 	depends on SOUND_PRIME && SOC_AU1550
+	# Weird I2S driver needs I2C driver to talk to the codec...
+	select I2C
+	select I2C_AU1550
 
 config SOUND_TRIDENT
 	tristate "Trident 4DWave DX/NX, SiS 7018 or ALi 5451 PCI Audio Core"

                 reply	other threads:[~2006-10-09 16:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=452A72B9.80109@ru.mvista.com \
    --to=sshtylyov@ru.mvista.com \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.org \
    /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