From: Sergey Podstavin <spodstavin@ru.mvista.com>
To: linux-mips <linux-mips@linux-mips.org>
Subject: NEC VR5701 support
Date: Thu, 23 Feb 2006 18:44:31 +0300 [thread overview]
Message-ID: <1140709471.5741.17.camel@localhost.localdomain> (raw)
[-- Attachment #1: Type: text/plain, Size: 1 bytes --]
[-- Attachment #2: pro_mips_nec_vr5701_sound_recording_fix.patch --]
[-- Type: text/x-patch, Size: 1971 bytes --]
Source: MontaVista Software, Inc. Igor Goryachev <igoryachev@ru.mvista.com>
MR: 16114
Type: Defect Fix
Disposition: needs submitting to linuxmips-embedded mailing list
Signed-off-by: Igor Goryachev <igoryachev@ru.mvista.com>
Description:
Fixes bug with sound recording on NEC vr5701.
Index: linux-2.6.10/include/linux/lsppatchlevel.h
===================================================================
--- linux-2.6.10.orig/include/linux/lsppatchlevel.h
+++ linux-2.6.10/include/linux/lsppatchlevel.h
@@ -6,4 +6,4 @@
* is licensed "as is" without any warranty of any kind, whether express
* or implied.
*/
-#define LSP_PATCH_LEVEL "10"
+#define LSP_PATCH_LEVEL "11"
Index: linux-2.6.10/mvl_patches/pro-0011.c
===================================================================
--- /dev/null
+++ linux-2.6.10/mvl_patches/pro-0011.c
@@ -0,0 +1,16 @@
+/*
+ * Author: MontaVista Software, Inc. <source@mvista.com>
+ *
+ * 2005 (c) MontaVista Software, Inc. This file is licensed under
+ * the terms of the GNU General Public License version 2. This program
+ * is licensed "as is" without any warranty of any kind, whether express
+ * or implied.
+ */
+#include <linux/init.h>
+#include <linux/mvl_patch.h>
+
+static __init int regpatch(void)
+{
+ return mvl_register_patch(11);
+}
+module_init(regpatch);
Index: linux-2.6.10/sound/pci/vr5701/nec_vr5701_sg2.h
===================================================================
--- linux-2.6.10.orig/sound/pci/vr5701/nec_vr5701_sg2.h
+++ linux-2.6.10/sound/pci/vr5701/nec_vr5701_sg2.h
@@ -138,7 +138,7 @@ static snd_pcm_hardware_t snd_vr5701_pla
/* hardware definition */
static snd_pcm_hardware_t snd_vr5701_capture_hw = {
.info = (SNDRV_PCM_INFO_MMAP |
- SNDRV_PCM_INFO_INTERLEAVED |
+ SNDRV_PCM_INFO_NONINTERLEAVED |
SNDRV_PCM_INFO_BLOCK_TRANSFER |
SNDRV_PCM_INFO_MMAP_VALID),
.formats = SNDRV_PCM_FMTBIT_S16_LE,
next reply other threads:[~2006-02-23 15:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-23 15:44 Sergey Podstavin [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-02-23 15:45 NEC VR5701 support Sergey Podstavin
2006-02-23 15:43 Sergey Podstavin
2006-02-23 15:43 Sergey Podstavin
2006-02-23 15:41 Sergey Podstavin
2006-02-23 15:39 Sergey Podstavin
2006-02-23 15:39 Sergey Podstavin
2006-02-23 15:38 Sergey Podstavin
2006-02-23 15:36 Sergey Podstavin
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=1140709471.5741.17.camel@localhost.localdomain \
--to=spodstavin@ru.mvista.com \
--cc=linux-mips@linux-mips.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