Merge ../linus
[linux-drm-fsl-dcu.git] / Documentation / sound / alsa / DocBook / writing-an-alsa-driver.tmpl
index b8dc51ca776c84b9e4eae4edf1c8477dc337e19a..077fbe25ebf44bca5cd9c16a819faebc60849121 100644 (file)
 
       <para>
       For a device which allows hotplugging, you can use
-      <function>snd_card_free_in_thread</function>.  This one will
-      postpone the destruction and wait in a kernel-thread until all
-      devices are closed.
+      <function>snd_card_free_when_closed</function>.  This one will
+      postpone the destruction until all devices are closed.
       </para>
 
     </section>
@@ -5487,7 +5486,7 @@ struct _snd_pcm_runtime {
   <chapter id="power-management">
     <title>Power Management</title>
     <para>
-      If the chip is supposed to work with with suspend/resume
+      If the chip is supposed to work with suspend/resume
       functions, you need to add the power-management codes to the
       driver. The additional codes for the power-management should be
       <function>ifdef</function>'ed with