Merge branch 'topic/hda-dmic' into for-next
[linux-2.6-block.git] / sound / pci / hda / hda_intel.c
index ae9c13248a1de8da732d3e7c847e0fb9c106cc4e..635d971b003bfd3dca8428d2e780b7a537313344 100644 (file)
@@ -1305,9 +1305,9 @@ static int azx_free(struct azx *chip)
        }
 
        if (bus->chip_init) {
+               azx_stop_chip(chip);
                azx_clear_irq_pending(chip);
                azx_stop_all_streams(chip);
-               azx_stop_chip(chip);
        }
 
        if (bus->irq >= 0)