[alsa-devel] [PATCH] MFD: DaVinci: Fix voice codec device name

Liam Girdwood lrg at slimlogic.co.uk
Thu Jan 27 21:41:56 CET 2011


On Thu, 2011-01-27 at 18:58 +0530, Manjunathappa, Prakash wrote:
> Fix the device name in DaVinci Voice Codec MFD driver to load
> davinci-vcif and cq93vc codec client drivers.
> 
> Signed-off-by: Manjunathappa, Prakash <prakash.pm at ti.com>
> ---
> This patch applies to Linus's tree at [1].
> 
> [1] http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
> ---
>  drivers/mfd/davinci_voicecodec.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/mfd/davinci_voicecodec.c b/drivers/mfd/davinci_voicecodec.c
> index 33c923d..fdd8a1b 100644
> --- a/drivers/mfd/davinci_voicecodec.c
> +++ b/drivers/mfd/davinci_voicecodec.c
> @@ -118,12 +118,12 @@ static int __init davinci_vc_probe(struct platform_device *pdev)
>  
>  	/* Voice codec interface client */
>  	cell = &davinci_vc->cells[DAVINCI_VC_VCIF_CELL];
> -	cell->name = "davinci_vcif";
> +	cell->name = "davinci-vcif";
>  	cell->driver_data = davinci_vc;
>  
>  	/* Voice codec CQ93VC client */
>  	cell = &davinci_vc->cells[DAVINCI_VC_CQ93VC_CELL];
> -	cell->name = "cq93vc";
> +	cell->name = "cq93vc-codec";
>  	cell->driver_data = davinci_vc;
>  
>  	ret = mfd_add_devices(&pdev->dev, pdev->id, davinci_vc->cells,

Acked-by: Liam Girdwood <lrg at slimlogic.co.uk>
-- 
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk



More information about the Alsa-devel mailing list