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

Lars-Peter Clausen lars at metafoo.de
Wed Jan 1 16:42:39 CET 2014

On 12/23/2013 11:42 AM, 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.
> Signed-off-by: Takashi Iwai <tiwai at suse.de>

Looks good, thanks.

Acked-by: Lars-Peter Clausen <lars at metafoo.de>

More information about the Alsa-devel mailing list