All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH - snd-powermac 1/1] Allow input from mic in iBook G3 Dual-USB (older kernels)
@ 2009-01-20 20:02 Risto Suominen
  0 siblings, 0 replies; only message in thread
From: Risto Suominen @ 2009-01-20 20:02 UTC (permalink / raw)
  To: tiwai; +Cc: alsa-devel, Risto Suominen

Allow input from microphone on iBook G3 Dual-USB (Tumbler) on older kernels.

Signed-off-by: Risto Suominen <Risto.Suominen@gmail.com>

diff --git a/ppc/pmac_old.c b/ppc/pmac_old.c
index 1bb65fe..c6ebc11 100644
--- a/ppc/pmac_old.c
+++ b/ppc/pmac_old.c
@@ -964,7 +964,8 @@ static int __init snd_pmac_detect(struct snd_pmac *chip)
 	}
 	if (device_is_compatible(sound, "tumbler")) {
 		chip->model = PMAC_TUMBLER;
-		chip->can_capture = machine_is_compatible("PowerMac4,2");
+		chip->can_capture = machine_is_compatible("PowerMac4,2")
+				|| machine_is_compatible("PowerBook4,1");
 		chip->can_duplex = 0;
 		// chip->can_byte_swap = 0; /* FIXME: check this */
 		chip->num_freqs = ARRAY_SIZE(tumbler_freqs);
-- 
1.5.4.3

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-01-20 20:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-20 20:02 [PATCH - snd-powermac 1/1] Allow input from mic in iBook G3 Dual-USB (older kernels) Risto Suominen

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.