Re: [PATCH 2/3] ALSA SoC: Add mpc5200-psc I2S driver | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
On Fri, Jul 04, 2008 at 07:03:25AM -0400, Timur Tabi wrote:
>> i2s@2200 { // PSC2
>> compatible = "fsl,mpc5200b-psc-i2s","fsl,mpc5200-psc-i2s";
>> cell-index = <1>;
>
> cell-index should be zero-based, not one-based.
Well...since cell-index is for indexing shared resources, the
cell-index values should be whatever the convention is for that shared
resource, which can be defined as whatever is convenient for that
resource. I think that's been zero-based in every user of cell-index
so far, but there's no reason it *has* to be if a different
enumeration is convenient for the shared resource in question.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
[Home] [ALSA User] [Linux Audio Users] [Sound Cards] [Computer Speakers] [Kernel List] [Asterisk PBX] [Drives] [Photo Sharing] [Linux Sound] [Video 4 Linux] [Gimp] [Yosemite News]
![]() |