All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jarkko Nikula <jhnikula@gmail.com>
To: Ilkka Koskinen <ilkka.koskinen@nokia.com>
Cc: alsa-devel@alsa-project.org, linux-omap@vger.kernel.org,
	peter.ujfalusi@nokia.com, broonie@opensource.wolfsonmicro.com,
	tony@atomide.com, eduardo.valentin@nokia.com,
	ext-Eero.Nurkkala@nokia.com
Subject: Re: [PATCHv4 0/2] McBSP: OMAP3: Add sidetone feature
Date: Thu, 18 Feb 2010 22:22:29 +0200	[thread overview]
Message-ID: <20100218222229.0f0eb3a9.jhnikula@gmail.com> (raw)
In-Reply-To: <1266518549-23809-1-git-send-email-ilkka.koskinen@nokia.com>

On Thu, 18 Feb 2010 20:42:27 +0200
Ilkka Koskinen <ilkka.koskinen@nokia.com> wrote:

> The first patch implements McBSP sidetone feature on OMAP3 while the second
> one provides ALSA interface for using it.
> 
> The patch set is based on the patch Eduardo Valentin sent to alsa-devel
> mailing list in October 2009. Channel gain control and enabling the sidetone
> have been moved to ALSA interface as suggested in comments. 
> 
> These patches apply on top of Janusz Krzysztofik's McBSP register cache
> patches in linux-omap-2.6.git
> 
> Since the version 3, the buggy channel gain control has been fixed. ASoC part 
> have been simplified resulting in removing a couple unnecessary functions.
> Added a comment to ASoC part explaining McBSP port number vs. index values
> used in OMAP McBSP implementation.
> 
I still have two concern:

1. port number vs. index difference inside driver code is not enough

It's just confusing if a machine driver and internal API (mcbsp.c) has
to use different indexing. See:

omap_mcbsp_st_add_controls(codec, 2);
...
*(unsigned int *)omap3beagle_dai.cpu_dai->private_data = 1; /* McBSP2 */

and mcbsp->id use in mcbsp.c.

2. I cannot change the sidetone level with alsamixer

Is this bug with the alsamixer? With amixer I'm able to set positive
values but not negative

amixer set -D hw:0 'McBSP2 Sidetone Channel 0' 32767

What I'm looking here, is that I can execute a test below with unit
impulse response tap filter, hear the sound and note that the volume is
changing as I'm changing the sidetone volume :-)

arecord -f dat >/dev/null |aplay -f dat /dev/zero


-- 
Jarkko

  parent reply	other threads:[~2010-02-18 20:22 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-18 18:42 [PATCHv4 0/2] McBSP: OMAP3: Add sidetone feature Ilkka Koskinen
2010-02-18 18:42 ` [PATCHv4 1/2] " Ilkka Koskinen
2010-02-18 18:42   ` [PATCHv4 2/2] ASoC: OMAP-McBSP: ASoC interface for McBSP sidetone Ilkka Koskinen
2010-02-19  7:30     ` ext-Eero.Nurkkala
2010-02-19 12:04       ` Ilkka Koskinen
2010-02-19 12:57         ` ext-Eero.Nurkkala
2010-02-19 15:12           ` ilkka.koskinen
2010-02-19 19:03             ` ext-Eero.Nurkkala
2010-02-22 11:11               ` ilkka.koskinen
2010-02-18 20:22 ` Jarkko Nikula [this message]
2010-02-19  8:34   ` [PATCHv4 0/2] McBSP: OMAP3: Add sidetone feature Peter Ujfalusi
2010-02-19 13:39     ` Jarkko Nikula
2010-02-19 13:37       ` Eero Nurkkala
2010-02-19 13:54         ` Jarkko Nikula
2010-02-19 10:05   ` Ilkka Koskinen
2010-02-19 13:45     ` Jarkko Nikula

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100218222229.0f0eb3a9.jhnikula@gmail.com \
    --to=jhnikula@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=eduardo.valentin@nokia.com \
    --cc=ext-Eero.Nurkkala@nokia.com \
    --cc=ilkka.koskinen@nokia.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=peter.ujfalusi@nokia.com \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.