commit | 166a34d27fcad1eeb0322cff23939a1910f8a77c | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Wed Oct 30 08:35:01 2013 +0100 |
committer | Mark Brown <broonie@linaro.org> | Wed Oct 30 09:33:30 2013 -0700 |
tree | 84da6b53d0d952949de3dfcc12bfb56b0820c25c | |
parent | 00ecdd93a80fda1336bf5413b1d705c742a5b598 [diff] |
ASoC: ab8500: Fix invalid cast to long pointer Don't cast to long pointers blindly just for using find_first_bit() and co. This is certainly not portable at all. Reimplement the code with ffs() and fls() instead. This is a slight optimization, too. Spotted by coverity CID 1056484 and 1056485. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Mark Brown <broonie@linaro.org>