projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72f784f
)
ALSA: fireworks: Remove a constant over width to which it's applied
author
Takashi Sakamoto
<o-takashi@sakamocchi.jp>
Wed, 4 Jun 2014 06:25:35 +0000
(15:25 +0900)
committer
Takashi Iwai
<tiwai@suse.de>
Wed, 4 Jun 2014 12:36:40 +0000
(14:36 +0200)
The constants of enum snd_efw_grp_type is for struct snd_efw_phys_grp.type.
But this member is 1 byte. Although the value is between 0x00-0xff, a constant
has 0x10000. This constant is meaningless.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/fireworks/fireworks.h
patch
|
blob
|
blame
|
history
diff --git
a/sound/firewire/fireworks/fireworks.h
b/sound/firewire/fireworks/fireworks.h
index d2b36be4d2f86a1b996259417fe4165f0ce996fd..4f0201a95222a2502ec438199fe9e78cad33b647 100644
(file)
--- a/
sound/firewire/fireworks/fireworks.h
+++ b/
sound/firewire/fireworks/fireworks.h
@@
-162,7
+162,6
@@
enum snd_efw_grp_type {
SND_EFW_CH_TYPE_GUITAR = 7,
SND_EFW_CH_TYPE_PIEZO_GUITAR = 8,
SND_EFW_CH_TYPE_GUITAR_STRING = 9,
- SND_EFW_CH_TYPE_VIRTUAL = 0x10000,
SND_EFW_CH_TYPE_DUMMY
};
struct snd_efw_phys_meters {