Source: MontaVista Software, Inc. Igor Goryachev <igoryachev@xxxxxxxxxxxxx> MR: 16114 Type: Defect Fix Disposition: needs submitting to linuxmips-embedded mailing list Signed-off-by: Igor Goryachev <igoryachev@xxxxxxxxxxxxx> 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@xxxxxxxxxx> + * + * 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,