All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Pierre-Louis Bossart <bossart.nospam@gmail.com>
Cc: alsa-devel@alsa-project.org,
	Pierre-Louis Bossart <pierre-louis.bossart@intel.com>
Subject: Re: [PATCH 1/2] pcm: pass hw_params flags to slave
Date: Tue, 02 Nov 2010 08:27:10 +0100	[thread overview]
Message-ID: <s5heib418z5.wl%tiwai@suse.de> (raw)
In-Reply-To: <1288649614-31581-1-git-send-email-pierre-louis.bossart@intel.com>

At Mon,  1 Nov 2010 17:13:33 -0500,
Pierre-Louis Bossart wrote:
> 
> fix required before interrupt disabling routines patch can be applied.
> Without this fix, the interrupts are only disabled when accessing
> directly hw devices.
> 
> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@intel.com>

I'm a bit skeptical whether this is safe to apply.
The plugins might not be always transparent.  Double-check whether
this doesn't break all plugins behaviors.


thanks,

Takashi


> ---
>  src/pcm/pcm_params.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/src/pcm/pcm_params.c b/src/pcm/pcm_params.c
> index 3a90bcd..416b081 100644
> --- a/src/pcm/pcm_params.c
> +++ b/src/pcm/pcm_params.c
> @@ -2126,6 +2126,7 @@ int _snd_pcm_hw_params_refine(snd_pcm_hw_params_t *params,
>  			err = changed;
>  	}
>  	params->info &= src->info;
> +        params->flags = src->flags; /* propagate flags to slave */
>  	return err;
>  }
>  
> -- 
> 1.7.2.3
> 
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> 

  parent reply	other threads:[~2010-11-02  7:27 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-01 22:13 [PATCH 1/2] pcm: pass hw_params flags to slave Pierre-Louis Bossart
2010-11-01 22:13 ` [PATCH 2/2] add API to allow disabling period interrupt Pierre-Louis Bossart
2010-11-02  7:28   ` Takashi Iwai
2010-11-02  8:23   ` Clemens Ladisch
2010-11-02  8:34     ` Jaroslav Kysela
2010-11-02  8:38     ` Jaroslav Kysela
2010-11-02  9:04       ` Clemens Ladisch
2010-11-02  9:52         ` Jaroslav Kysela
2010-11-02 13:12           ` pl bossart
2010-11-03  7:38             ` Jaroslav Kysela
2010-11-08 20:58               ` pl bossart
2010-11-08 21:03                 ` Jaroslav Kysela
2010-11-02  7:27 ` Takashi Iwai [this message]
2010-11-02 12:52   ` [PATCH 1/2] pcm: pass hw_params flags to slave pl bossart

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=s5heib418z5.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=bossart.nospam@gmail.com \
    --cc=pierre-louis.bossart@intel.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.