[alsa-devel] [PATCH] hda: removed redundant gpio_mask

Matthew Ranostay mranostay at embeddedalley.com
Mon Jul 7 23:51:27 CEST 2008


An gpio_mask value was defined twice needlessly.

---
Signed-off-by: Matthew Ranostay <mranostay at embeddedalley.com>

diff --git a/pci/hda/patch_sigmatel.c b/pci/hda/patch_sigmatel.c
index c4f3489..a6d1388 100644
--- a/pci/hda/patch_sigmatel.c
+++ b/pci/hda/patch_sigmatel.c
@@ -3669,7 +3669,6 @@ again:
 	/* GPIO0 High = EAPD */
 	spec->gpio_mask = 0x01;
 	spec->gpio_dir = 0x01;
-	spec->gpio_mask = 0x01;
 	spec->gpio_data = 0x01;

 	spec->mux_nids = stac92hd71bxx_mux_nids;


More information about the Alsa-devel mailing list