]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - sound/hda/hdac_sysfs.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[linux.git] / sound / hda / hdac_sysfs.c
index fb2aa344981e67e65db2aaf6da0fd0af922d0c2d..909d5ef1179c92d3d33f5bb60aa5a5378e30db0b 100644 (file)
@@ -395,6 +395,7 @@ static int widget_tree_create(struct hdac_device *codec)
        return 0;
 }
 
+/* call with codec->widget_lock held */
 int hda_widget_sysfs_init(struct hdac_device *codec)
 {
        int err;
@@ -411,11 +412,13 @@ int hda_widget_sysfs_init(struct hdac_device *codec)
        return 0;
 }
 
+/* call with codec->widget_lock held */
 void hda_widget_sysfs_exit(struct hdac_device *codec)
 {
        widget_tree_free(codec);
 }
 
+/* call with codec->widget_lock held */
 int hda_widget_sysfs_reinit(struct hdac_device *codec,
                            hda_nid_t start_nid, int num_nodes)
 {