diff options
author | Risto Suominen <Risto.Suominen@gmail.com> | 2008-11-18 01:35:14 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-11-18 01:38:00 -0500 |
commit | bc4a68fed4b4c01005ef3c71ede6a8cbe91b7dc9 (patch) | |
tree | a153efb7f9c0bcc55842dec959c89e74f4911feb /sound/ppc/pmac.c | |
parent | 8a75f4fb28766878893b4335f4b5743ce9b931fe (diff) |
ALSA: snd-powermac: enable mic on iMac G4
Allow input from microphone on iMac G4 Flat-panel (Tumbler).
Signed-off-by: Risto Suominen <Risto.Suominen@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/ppc/pmac.c')
-rw-r--r-- | sound/ppc/pmac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/ppc/pmac.c b/sound/ppc/pmac.c index a38c0c790d2b..af76ee862d27 100644 --- a/sound/ppc/pmac.c +++ b/sound/ppc/pmac.c | |||
@@ -1033,7 +1033,7 @@ static int __init snd_pmac_detect(struct snd_pmac *chip) | |||
1033 | } | 1033 | } |
1034 | if (of_device_is_compatible(sound, "tumbler")) { | 1034 | if (of_device_is_compatible(sound, "tumbler")) { |
1035 | chip->model = PMAC_TUMBLER; | 1035 | chip->model = PMAC_TUMBLER; |
1036 | chip->can_capture = 0; /* no capture */ | 1036 | chip->can_capture = machine_is_compatible("PowerMac4,2"); |
1037 | chip->can_duplex = 0; | 1037 | chip->can_duplex = 0; |
1038 | // chip->can_byte_swap = 0; /* FIXME: check this */ | 1038 | // chip->can_byte_swap = 0; /* FIXME: check this */ |
1039 | chip->num_freqs = ARRAY_SIZE(tumbler_freqs); | 1039 | chip->num_freqs = ARRAY_SIZE(tumbler_freqs); |