Re: handling voice calls in ALSA soc (on Droid 4)

From: Mark Brown
Date: Mon Jun 11 2018 - 08:16:03 EST


On Mon, Jun 11, 2018 at 02:01:58PM +0200, Pavel Machek wrote:

> With setup like that, how does userland tell kernel that the baseband
> <-> microphone/speaker connection should be activated?

Audio routing should be done as normal, and ideally the driver for the
modem will be able to figure out if there's an active call or not. If
userspace has to enable the input and output manually then you can set
up SOC_DAPM_PIN_SWITCH()es as normal.

Attachment: signature.asc
Description: PGP signature