]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: rt1305: Use ULL suffixes for 64-bit constants
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 7 Jun 2018 13:50:48 +0000 (15:50 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 18 Jun 2018 11:54:38 +0000 (12:54 +0100)
commit4f29b663c08d369fe320a148179996c94cf7d01b
tree16ff00f46cd026e3edd671273a4c98301972cdc1
parent75b31192fe6ad20b42276b20ee3bdf1493216d63
ASoC: rt1305: Use ULL suffixes for 64-bit constants

With gcc 4.1.2:

    sound/soc/codecs/rt1305.c: In function ‘rt1305_calibrate’:
    sound/soc/codecs/rt1305.c:1069: warning: integer constant is too large for ‘long’ type
    sound/soc/codecs/rt1305.c:1086: warning: integer constant is too large for ‘long’ type

Add the missing "ULL" suffixes to fix this.

Fixes: 29bc643ddd7efb74 ("ASoC: rt1305: Add RT1305/RT1306 amplifier driver")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt1305.c