Re: [Bug 1959] New: cs46xx driver mmap_valid 0-->1 in kernel 2.6.x?

From: Takashi Iwai
Date: Tue Jan 27 2004 - 11:08:00 EST


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@xxxxxxx> ALSA Developer - www.alsa-project.org
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/