diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2014-05-27 11:14:42 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-05-27 11:35:30 -0400 |
commit | 9b5f0edfd247bd528bfe1607f1b077684abb9973 (patch) | |
tree | 5d2db9751c6737a1ef637a641b3d9f65bc7cf692 /sound/firewire/bebob/bebob_maudio.c | |
parent | a6b598bf4b4117597479cc0d6204df6d4d8f2635 (diff) |
ALSA: fireworks/bebob: Add suffix for long long integer literal
This commit adds suffix to register values of each device, to supress 'sparse'
warnings. Additionally, this commit changes offset values with integer literal.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/bebob/bebob_maudio.c')
-rw-r--r-- | sound/firewire/bebob/bebob_maudio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/firewire/bebob/bebob_maudio.c b/sound/firewire/bebob/bebob_maudio.c index 52b1a40e5e13..6af50eb80ea7 100644 --- a/sound/firewire/bebob/bebob_maudio.c +++ b/sound/firewire/bebob/bebob_maudio.c | |||
@@ -49,7 +49,7 @@ | |||
49 | /* padding */ | 49 | /* padding */ |
50 | #define MAUDIO_BOOTLOADER_CUE3 0x00000000 | 50 | #define MAUDIO_BOOTLOADER_CUE3 0x00000000 |
51 | 51 | ||
52 | #define MAUDIO_SPECIFIC_ADDRESS 0xffc700000000 | 52 | #define MAUDIO_SPECIFIC_ADDRESS 0xffc700000000ULL |
53 | 53 | ||
54 | #define METER_OFFSET 0x00600000 | 54 | #define METER_OFFSET 0x00600000 |
55 | 55 | ||
@@ -111,7 +111,7 @@ int snd_bebob_maudio_load_firmware(struct fw_unit *unit) | |||
111 | * firmware version 5058 or later has date later than "20070401", but | 111 | * firmware version 5058 or later has date later than "20070401", but |
112 | * 'date' is not null-terminated. | 112 | * 'date' is not null-terminated. |
113 | */ | 113 | */ |
114 | if (date < 0x3230303730343031) { | 114 | if (date < 0x3230303730343031LL) { |
115 | dev_err(&unit->device, | 115 | dev_err(&unit->device, |
116 | "Use firmware version 5058 or later\n"); | 116 | "Use firmware version 5058 or later\n"); |
117 | err = -ENOSYS; | 117 | err = -ENOSYS; |