[alsa-devel] [PATCH] ASoC: ssm2518: Fix off-by-one error by ffs()

Mark Brown broonie at kernel.org
Thu Jan 2 12:54:38 CET 2014

On Mon, Dec 23, 2013 at 11:42:55AM +0100, Takashi Iwai wrote:
> ffs() returns the bit position from 1, while the ssm2158 driver code
> assumes it being 0-based.  Also, the bit mask computation of the two
> channel slots are incorrect; it must have worked just casually.

Applied, thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20140102/f400700e/attachment.sig>

More information about the Alsa-devel mailing list