aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_sigmatel.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-11-16 05:25:33 -0500
committerTakashi Iwai <tiwai@suse.de>2009-11-16 05:35:23 -0500
commit9c96fa599fe4f0ccc6e3e606df6652335afe28e8 (patch)
tree319ab013b3bcba5fe750c51873d9977122bdcd98 /sound/pci/hda/patch_sigmatel.c
parent4d02d1b638af580ae3d69367248539a8b3893064 (diff)
ALSA: hda - Get rid of magic digits for subdev hack
Define a proper const for a magic 31bit flag for subdev / NID setup with a brief comment. 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index d2ddb959c290..7f76a97954f9 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -2689,7 +2689,7 @@ stac_control_new(struct sigmatel_spec *spec,
2689 return NULL; 2689 return NULL;
2690 } 2690 }
2691 if (nid) 2691 if (nid)
2692 knew->subdevice = (1<<31)|nid; 2692 knew->subdevice = HDA_SUBDEV_NID_FLAG | nid;
2693 return knew; 2693 return knew;
2694} 2694}
2695 2695