NEC VR5701 support
Source: MontaVista Software, Inc. Igor Goryachev <[email protected]>
MR: 16114
Type: Defect Fix
Disposition: needs submitting to linuxmips-embedded mailing list
Signed-off-by Igor Goryachev <[email protected]>
Description:
Fixes bug with sound recording on NEC vr5701.
include/linux/lsppatchlevel.h +1 -1
@@ -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"
mvl_patches/pro-0011.c new file +16 -0
@@ -0,0 +1,16 @@ +/* +* Author: MontaVista Software, Inc. <[email protected]> +* +* 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);
sound/pci/vr5701/nec_vr5701_sg2.h +1 -1
@@ -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 ,