From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EECE0C433E6 for ; Thu, 28 Jan 2021 23:12:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BD60E64DF1 for ; Thu, 28 Jan 2021 23:12:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231671AbhA1XMC (ORCPT ); Thu, 28 Jan 2021 18:12:02 -0500 Received: from relmlor1.renesas.com ([210.160.252.171]:3712 "EHLO relmlie5.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S231203AbhA1XMA (ORCPT ); Thu, 28 Jan 2021 18:12:00 -0500 Date: 29 Jan 2021 08:11:08 +0900 X-IronPort-AV: E=Sophos;i="5.79,383,1602514800"; d="scan'208";a="70616151" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 29 Jan 2021 08:11:08 +0900 Received: from mercury.renesas.com (unknown [10.166.252.133]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 344594137918; Fri, 29 Jan 2021 08:11:08 +0900 (JST) Message-ID: <87o8h8irzv.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto To: Pavel Machek Cc: Mark Brown , peter.ujfalusi@ti.com, lgirdwood@gmail.com, tony@atomide.com, perex@perex.cz, linux-kernel@vger.kernel.org, tiwai@suse.com, alsa-devel@alsa-project.org, Sebastian Reichel , "Arthur D." , Merlijn Wajer , phone-devel@vger.kernel.org Subject: Re: [PATCHv2] ASoC: audio-graph-card: Add audio mixer for Motorola mdm6600 In-Reply-To: <20210128105230.GA21134@duo.ucw.cz> References: <20210128105230.GA21134@duo.ucw.cz> User-Agent: Wanderlust/2.15.9 Emacs/26.3 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Pavel > motmdm.c handles audio configuration on "gsmtty2"; it needs to know > whether we are in call or not; that part is in motmdm-state.c and > listens on "gsmtty1". > > To configure Alsamixer for voice calls do for example: > > Speaker Right -> Voice > Call Noise Cancellation -> Unmute > Call Output -> Speakerphone > Call -> 100 > Mic2 -> 40 > Left -> Mic 2 > Voice -> 55 > Mic2 -> 40 > Left -> Mic 2 > > Tony wrote original version using custom interface to n_gsm, Pavel > switched it to plain serdev and split it to two drivers to be easier > to debug and understand. Credit is Tony's, bugs are probably Pavel's. > > Signed-off-by: Pavel Machek > Co-authored-by: Tony Lindgren > --- This is not a big deal, but the this patch is not directly related to audio-graph-card. Including it on Subject is confusable. Thank you for your help !! Best regards --- Kuninori Morimoto