OSDN Git Service

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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Oct 2018 23:59:15 +0000 (16:59 -0700)
commit8d07efbdf84f47b935c8bb4e5998050375295764
tree654d841517db804117da6137635d9b95ea9cedb1
parent3e28a96b87f64bc4cbb3a254793fa609df7f2bcc
ASoC: rt1305: Use ULL suffixes for 64-bit constants

[ Upstream commit 4f29b663c08d369fe320a148179996c94cf7d01b ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/codecs/rt1305.c