From: Mark Brown Date: Fri, 1 Aug 2014 16:19:00 +0000 (+0100) Subject: ASoC: adau1977: Fix truncation warning on 64 bit architectures X-Git-Tag: omap-for-v3.17/fixes-against-rc2~144^2~5^2~11^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8df26bb57d2a86365de46a5421b97417401e39a;p=pandora-kernel.git 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 Acked-by: Lars-Peter Clausen --- Reading git-diff-tree failed