On Jan 31, 2008 4:56 AM,  <[EMAIL PROTECTED]> wrote:
> --- trunk/sound/soc/codecs/ad1980.c 2008-01-31 04:27:30 UTC (rev 4195)
> +++ trunk/sound/soc/codecs/ad1980.c 2008-01-31 09:56:08 UTC (rev 4196)
> @@ -222,8 +222,11 @@
>  ARRAY_SIZE(ad1980_reg));
>  codec->reg_cache_size = sizeof(u16) * ARRAY_SIZE(ad1980_reg);
>  codec->reg_cache_step = 2;
> -
> +#ifdef CONFIG_SND_MMAP_SUPPORT
> + codec->name = "AD1980-MMAP";
> +#else
>  codec->name = "AD1980";
> +#endif
>  codec->owner = THIS_MODULE;
>  codec->dai = &ad1980_dai;
>  codec->num_dai = 1;

why does the codec driver care how the hardware has things implemented
?  the codec is always AD1980 regardless ...
-mike
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to