15 Nov
2010
15 Nov
'10
7:16 p.m.
On Mon, Nov 15, 2010 at 07:52:31PM +0100, Peter Rosin wrote:
Den 2010-11-15 15:50 skrev Hans-Christian Egtvedt:
IIRC the bitrate is controlled by a generic clock, and it has a power of two divider possibility. Hence the comment about power of two.
My point is that the "ssc_div must be a power of 2" comment is misleading in that this is an external (to the driver) constraint that has nothing to do with the driver code. This constraint is also not universally true, and the comment just makes it harder to follow what the driver code is doing.
This code probably ought to be converted to ASoC anyway :)