diff options
author | Mark Brown <broonie@linaro.org> | 2014-08-01 16:19:00 (GMT) |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-08-04 13:29:45 (GMT) |
commit | d8df26bb57d2a86365de46a5421b97417401e39a (patch) | |
tree | 7df916d836acd621ea76a6215031ac9a8a092e37 /drivers/regulator/s2mpa01.c | |
parent | 7171511eaec5bf23fb06078f59784a3a0626b38f (diff) | |
download | linux-d8df26bb57d2a86365de46a5421b97417401e39a.tar.xz |
ASoC: adau1977: Fix truncation warning on 64 bit architectures
Negating ADAU1977_BLOCK_POWER_SAI_LDO_EN creates an unsigned long constant
with all bits set which on 64 bit architectures needs to be truncated to
an unsigned int, generating a warning. Add an explicit cast since we know
this is OK.
Signed-off-by: Mark Brown <broonie@linaro.org>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Diffstat (limited to 'drivers/regulator/s2mpa01.c')
0 files changed, 0 insertions, 0 deletions