Re: [PATCH 1/2] ASoC: Pay attention to driver supplied DAI IDs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 12, 2010 at 03:57:55PM +0100, Mark Brown wrote:
>  		dai->dev = dev;
> -		dai->id = i;
> +		if (dai->driver->id)
> +			dai->id = dai->driver->id;
> +		else
> +			dai->id = i;
>  		dai->driver = &dai_drv[i];

Sorry, sent the wrong version of this - obviously the new check should
go after the assignment.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux