* [PATCH] Alchemy: make OSS I2S driver build
@ 2006-03-14 3:21 Sergei Shtylylov
0 siblings, 0 replies; only message in thread
From: Sergei Shtylylov @ 2006-03-14 3:21 UTC (permalink / raw)
To: Linux MIPS; +Cc: Jordan Crouse
[-- Attachment #1: Type: text/plain, Size: 454 bytes --]
Hello.
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 drivers/i2c/busses/Kconfig.
WBR, Sergei
PS: Also, I've noticed that both I2S and I2C drivers depend solely on
SOC_AU1550. Shouldn't they also work on Au1200?
Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
[-- Attachment #2: Au1550-I2S-depends-on-I2C.patch --]
[-- Type: text/plain, Size: 459 bytes --]
diff --git a/sound/oss/Kconfig b/sound/oss/Kconfig
index b7bd8ab..07eb4a7 100644
--- a/sound/oss/Kconfig
+++ b/sound/oss/Kconfig
@@ -242,6 +242,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"
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2006-03-14 3:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-14 3:21 [PATCH] Alchemy: make OSS I2S driver build Sergei Shtylylov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox