diff options
author | Toralf Förster <toralf.foerster@gmx.de> | 2014-05-20 13:19:24 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-05-21 05:11:50 -0400 |
commit | e7fc496066ac3cc473f4309d1a1cd32fc2fc08ab (patch) | |
tree | 901de0bfa99cc1ff39ebb3e8d48db308153712d0 /sound/pci/hda/patch_sigmatel.c | |
parent | e9bd7d5ce8d14517aa1383bb4f84e55e7c0d4363 (diff) |
ALSA: hda - fix format type mismatch in sound/pci/hda/patch_sigmatel.c
Signed-off-by: Toralf Förster <toralf.foerster@gmx.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_sigmatel.c')
-rw-r--r-- | sound/pci/hda/patch_sigmatel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c index 75515b494034..7f40a150899c 100644 --- 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) | |||
795 | } | 795 | } |
796 | 796 | ||
797 | while ((dev = dmi_find_device(DMI_DEV_TYPE_OEM_STRING, NULL, dev))) { | 797 | while ((dev = dmi_find_device(DMI_DEV_TYPE_OEM_STRING, NULL, dev))) { |
798 | if (sscanf(dev->name, "HP_Mute_LED_%d_%x", | 798 | if (sscanf(dev->name, "HP_Mute_LED_%u_%x", |
799 | &spec->gpio_led_polarity, | 799 | &spec->gpio_led_polarity, |
800 | &spec->gpio_led) == 2) { | 800 | &spec->gpio_led) == 2) { |
801 | unsigned int max_gpio; | 801 | unsigned int max_gpio; |
@@ -808,7 +808,7 @@ static int find_mute_led_cfg(struct hda_codec *codec, int default_polarity) | |||
808 | spec->vref_mute_led_nid = spec->gpio_led; | 808 | spec->vref_mute_led_nid = spec->gpio_led; |
809 | return 1; | 809 | return 1; |
810 | } | 810 | } |
811 | if (sscanf(dev->name, "HP_Mute_LED_%d", | 811 | if (sscanf(dev->name, "HP_Mute_LED_%u", |
812 | &spec->gpio_led_polarity) == 1) { | 812 | &spec->gpio_led_polarity) == 1) { |
813 | set_hp_led_gpio(codec); | 813 | set_hp_led_gpio(codec); |
814 | return 1; | 814 | return 1; |