diff options
author | 이경택 <gt82.lee@samsung.com> | 2020-03-30 16:35:59 +0900 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-03-30 18:22:36 +0100 |
commit | 0ab070917afdc93670c2d0ea02ab6defb6246a7c (patch) | |
tree | 7bafd5e30739b1040fd51d8f25d419b9f2cb856f /include/sound | |
parent | a91ab6509cd382dae4b7953155f47f276ff0d22f (diff) | |
download | linux-0ab070917afdc93670c2d0ea02ab6defb6246a7c.tar.bz2 |
ASoC: fix regwmask
If regwshift is 32 and the selected architecture compiles '<<' operator
for signed int literal into rotating shift, '1<<regwshift' became 1 and
it makes regwmask to 0x0.
The literal is set to unsigned long to get intended regwmask.
Signed-off-by: Gyeongtaek Lee <gt82.lee@samsung.com>
Link: https://lore.kernel.org/r/001001d60665$db7af3e0$9270dba0$@samsung.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
0 files changed, 0 insertions, 0 deletions