From: Stas Sergeev <stsp@aknet.ru>
To: Takashi Iwai <tiwai@suse.de>
Cc: ALSA devel <alsa-devel@alsa-project.org>
Subject: Re: [patch] snd-pcsp fixes
Date: Fri, 30 Oct 2009 15:22:39 +0300 [thread overview]
Message-ID: <4AEADA8F.8030408@aknet.ru> (raw)
In-Reply-To: <s5heiolyvyx.wl%tiwai@suse.de>
Hi.
Takashi Iwai wrote:
> I applied the patch now as is, as I suppose you tested it well :)
Well, no! :) I only tested it on 2
machines yet. Please give it more
testing if you can.
> I don't remember exactly the changes for pcsp driver right now,
> but the change of the initial delay was due to the change of start
> logic. At least, at the time HRTIMER_CB_IRQSAFE was removed, starting
> with zero didn't work at all on my machine. Maybe something got fixed
> in the core side.
OK, it would be nice if you can check
whether or not the problem is there on
that particular machine...
> But, I still don't understand why it has to be zero. The first
> bit-flip is done inside the trigger-start, so the next wakeup should
> be after the calculated ns. Isn't it?
That was the logic you invented, but
initially, and with my patch, there
is no bitflip on start trigger. Or,
at least, not supposed to be - there
was only a timer mode setup, or if not -
that was a bug. :)
Also, you added some caching variables:
+ unsigned int fmt_size;
+ unsigned int is_signed;
What was the intention? Is this a speed-up?
If not - reverting that too?
next prev parent reply other threads:[~2009-10-30 12:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-21 17:43 [patch] snd-pcsp fixes Stas Sergeev
2009-10-30 11:14 ` Takashi Iwai
2009-10-30 12:22 ` Stas Sergeev [this message]
2009-10-30 12:27 ` Takashi Iwai
2009-10-30 14:23 ` Stas Sergeev
2009-10-30 15:18 ` Takashi Iwai
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=4AEADA8F.8030408@aknet.ru \
--to=stsp@aknet.ru \
--cc=alsa-devel@alsa-project.org \
--cc=tiwai@suse.de \
/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.