mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
Merge branch 'topic/misc' into topic/pcsp-fix
Conflicts: sound/drivers/pcsp/pcsp_lib.c
This commit is contained in:
commit
e7dd8c1bda
11 changed files with 359 additions and 303 deletions
|
|
@ -1033,7 +1033,7 @@ static int __init snd_pmac_detect(struct snd_pmac *chip)
|
|||
}
|
||||
if (of_device_is_compatible(sound, "tumbler")) {
|
||||
chip->model = PMAC_TUMBLER;
|
||||
chip->can_capture = 0; /* no capture */
|
||||
chip->can_capture = machine_is_compatible("PowerMac4,2");
|
||||
chip->can_duplex = 0;
|
||||
// chip->can_byte_swap = 0; /* FIXME: check this */
|
||||
chip->num_freqs = ARRAY_SIZE(tumbler_freqs);
|
||||
|
|
|
|||
|
|
@ -875,7 +875,8 @@ static struct snd_kcontrol_new snapper_mixers[] __initdata = {
|
|||
.put = tumbler_put_master_switch
|
||||
},
|
||||
DEFINE_SNAPPER_MIX("PCM Playback Volume", 0, VOL_IDX_PCM),
|
||||
DEFINE_SNAPPER_MIX("PCM Playback Volume", 1, VOL_IDX_PCM2),
|
||||
/* Alternative PCM is assigned to Mic analog loopback on iBook G4 */
|
||||
DEFINE_SNAPPER_MIX("Mic Playback Volume", 0, VOL_IDX_PCM2),
|
||||
DEFINE_SNAPPER_MIX("Monitor Mix Volume", 0, VOL_IDX_ADC),
|
||||
DEFINE_SNAPPER_MONO("Tone Control - Bass", bass),
|
||||
DEFINE_SNAPPER_MONO("Tone Control - Treble", treble),
|
||||
|
|
|
|||
Loading…
Reference in a new issue