projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9bd7d5
)
ALSA: hda - fix format type mismatch in sound/pci/hda/patch_sigmatel.c
author
Toralf Förster
<toralf.foerster@gmx.de>
Tue, 20 May 2014 17:19:24 +0000
(19:19 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Wed, 21 May 2014 09:11:50 +0000
(11:11 +0200)
Signed-off-by: Toralf Förster <toralf.foerster@gmx.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_sigmatel.c
patch
|
blob
|
history
diff --git
a/sound/pci/hda/patch_sigmatel.c
b/sound/pci/hda/patch_sigmatel.c
index 75515b4940341a8599219f6a3ff2ee741b9f8138..7f40a150899ca3e12f656acad0f3d1ab1cbbc3e9 100644
(file)
--- a/
sound/pci/hda/patch_sigmatel.c
+++ b/
sound/pci/hda/patch_sigmatel.c
@@
-795,7
+795,7
@@
static int find_mute_led_cfg(struct hda_codec *codec, int default_polarity)
}
while ((dev = dmi_find_device(DMI_DEV_TYPE_OEM_STRING, NULL, dev))) {
- if (sscanf(dev->name, "HP_Mute_LED_%
d
_%x",
+ if (sscanf(dev->name, "HP_Mute_LED_%
u
_%x",
&spec->gpio_led_polarity,
&spec->gpio_led) == 2) {
unsigned int max_gpio;
@@
-808,7
+808,7
@@
static int find_mute_led_cfg(struct hda_codec *codec, int default_polarity)
spec->vref_mute_led_nid = spec->gpio_led;
return 1;
}
- if (sscanf(dev->name, "HP_Mute_LED_%
d
",
+ if (sscanf(dev->name, "HP_Mute_LED_%
u
",
&spec->gpio_led_polarity) == 1) {
set_hp_led_gpio(codec);
return 1;