summaryrefslogtreecommitdiff
path: root/rnd.c
AgeCommit message (Expand)AuthorFilesLines
2013-08-11rnd: Fix compiler warningTobias Klauser1-1/+1
2013-08-11rnd: Change parameter type in randombytes_{weak,strong}Tobias Klauser1-2/+2
2013-06-04rnd: add gen_key_bytes to generate key from good entropy sourceDaniel Borkmann1-7/+30
2013-06-04rnd: move entropy source definition to rndDaniel Borkmann1-5/+1
2013-06-04rnd: break out prng from xutilsDaniel Borkmann1-0/+49
th>parent6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae (diff)
ASoC: ssm2518: Fix off-by-one error by ffs()
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@suse.de> Acked-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc')