public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [Bug 1959] New: cs46xx driver mmap_valid 0-->1 in	kernel 2.6.x?
Date: Tue, 27 Jan 2004 17:00:46 +0100	[thread overview]
Message-ID: <s5h1xpl1ivl.wl@alsa2.suse.de> (raw)
In-Reply-To: <365550000.1075216480@[10.10.2.4]>

At Tue, 27 Jan 2004 07:14:40 -0800,
Martin J. Bligh wrote:
> 
> Is there a reason to keep mmap_valid=0 in cs46xx driver or is this a real bug? I
> haven't seen any new bugs with this patch applied, all the multimedia
> applications (mplayer, xine, xmms, noatun) keeps on working.

cs46xx doesn't always support the direct hardware buffer.
Only in some cases with a proper period (fragment) numbers, it can
support the direct buffer access.  mmap_valid option forces the driver
to allow OSS apps the direct accessing via mmap.  This might not work
always, depending on the parameter the app uses.  Use at your own
risk.

In short: it's not a real bug as long as mmap_valid=1 option works.
You had luck that your OSS apps (using mmap) seem working :)

--
Takashi Iwai <tiwai@suse.de>		ALSA Developer - www.alsa-project.org

      reply	other threads:[~2004-01-27 16:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <365550000.1075216480@10.10.2.4>
2004-01-27 15:14 ` [Bug 1959] New: cs46xx driver mmap_valid 0-->1 in kernel 2.6.x? Martin J. Bligh
2004-01-27 16:00   ` Takashi Iwai [this message]

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=s5h1xpl1ivl.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox