[alsa-devel] [PATCH] ALSA: AT73C213: Rectify misleading comments.

Mark Brown broonie at opensource.wolfsonmicro.com
Mon Nov 15 20:16:42 CET 2010


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 :)


More information about the Alsa-devel mailing list