Commit 44911853 authored by Mika Laitio's avatar Mika Laitio Committed by Tony Lindgren

[PATCH] Add gsm phone support for the mixer in tsc2101 alsa driver

Add gsm phone support for the mixer in tsc2101 alsa driver. This allows
selecting cellphone for the playback target via alsa mixer interface.
Selection will connect gsm module to speaker and microphone allowing the
user to speak to phone and listen the opponents voice. Tested in ipaq
h63xx by using gomunicator as an application. Tux wanna call home, and
now Tux can finally call home :-)
Signed-off-by: default avatarMika Laitio <lamikr@cc.jyu.fi>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent a94ebe2c
This diff is collapsed.
......@@ -56,9 +56,10 @@
#define INPUT_VOLUME_MAX 0x7D
#define INPUT_VOLUME_RANGE (INPUT_VOLUME_MAX - INPUT_VOLUME_MIN)
#define PLAYBACK_TARGET_COUNT 0x02
#define PLAYBACK_TARGET_COUNT 0x03
#define PLAYBACK_TARGET_LOUDSPEAKER 0x00
#define PLAYBACK_TARGET_HEADPHONE 0x01
#define PLAYBACK_TARGET_CELLPHONE 0x02
/* following are used for register 03h Mixer PGA control bits D7-D5 for selecting record source */
#define REC_SRC_TARGET_COUNT 0x08
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment