Commit d0f5137b authored by Huilong Deng's avatar Huilong Deng Committed by Takashi Iwai

ALSA: Remove trailing semicolon in macros

Macros should not use a trailing semicolon.
Signed-off-by: default avatarHuilong Deng <denghuilong@cdjrlc.com>
Link: https://lore.kernel.org/r/20210511154710.24481-1-denghuilong@cdjrlc.comSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent a06b7ee2
...@@ -79,7 +79,7 @@ enum { \ ...@@ -79,7 +79,7 @@ enum { \
ICH_REG_##name##_PICB = base + 0x08, /* word - position in current buffer */ \ ICH_REG_##name##_PICB = base + 0x08, /* word - position in current buffer */ \
ICH_REG_##name##_PIV = base + 0x0a, /* byte - prefetched index value */ \ ICH_REG_##name##_PIV = base + 0x0a, /* byte - prefetched index value */ \
ICH_REG_##name##_CR = base + 0x0b, /* byte - control register */ \ ICH_REG_##name##_CR = base + 0x0b, /* byte - control register */ \
}; }
/* busmaster blocks */ /* busmaster blocks */
DEFINE_REGSET(OFF, 0); /* offset */ DEFINE_REGSET(OFF, 0); /* offset */
......
...@@ -57,7 +57,7 @@ enum { \ ...@@ -57,7 +57,7 @@ enum { \
ICH_REG_##name##_PICB = base + 0x08, /* word - position in current buffer */ \ ICH_REG_##name##_PICB = base + 0x08, /* word - position in current buffer */ \
ICH_REG_##name##_PIV = base + 0x0a, /* byte - prefetched index value */ \ ICH_REG_##name##_PIV = base + 0x0a, /* byte - prefetched index value */ \
ICH_REG_##name##_CR = base + 0x0b, /* byte - control register */ \ ICH_REG_##name##_CR = base + 0x0b, /* byte - control register */ \
}; }
/* busmaster blocks */ /* busmaster blocks */
DEFINE_REGSET(OFF, 0); /* offset */ DEFINE_REGSET(OFF, 0); /* offset */
......
...@@ -289,7 +289,7 @@ MODULE_FIRMWARE("digiface_firmware_rev11.bin"); ...@@ -289,7 +289,7 @@ MODULE_FIRMWARE("digiface_firmware_rev11.bin");
return 104857600000000 / rate; // 100 MHz return 104857600000000 / rate; // 100 MHz
return 110100480000000 / rate; // 105 MHz return 110100480000000 / rate; // 105 MHz
*/ */
#define DDS_NUMERATOR 104857600000000ULL; /* = 2^20 * 10^8 */ #define DDS_NUMERATOR 104857600000000ULL /* = 2^20 * 10^8 */
#define hdsp_encode_latency(x) (((x)<<1) & HDSP_LatencyMask) #define hdsp_encode_latency(x) (((x)<<1) & HDSP_LatencyMask)
#define hdsp_decode_latency(x) (((x) & HDSP_LatencyMask)>>1) #define hdsp_decode_latency(x) (((x) & HDSP_LatencyMask)>>1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment