aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2013-12-23 11:42:55 +0100
committerMark Brown <[email protected]>2014-01-02 11:54:15 +0000
commitf60e5473e6788f93849a61198bec4e02fea31e51 (patch)
treecf211455da24d174f6187dd4a6d40ef24925ad36 /include/linux/fpga/fpga-mgr.h
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 <[email protected]> Acked-by: Lars-Peter Clausen <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions