ext4: save error to disk in __ext4_grp_locked_error()
[pandora-kernel.git] / sound / drivers / pcsp / pcsp.c
index 946a0cb..e6ad8d4 100644 (file)
@@ -187,8 +187,8 @@ static int __devinit pcsp_probe(struct platform_device *dev)
 static int __devexit pcsp_remove(struct platform_device *dev)
 {
        struct snd_pcsp *chip = platform_get_drvdata(dev);
-       alsa_card_pcsp_exit(chip);
        pcspkr_input_remove(chip->input_dev);
+       alsa_card_pcsp_exit(chip);
        platform_set_drvdata(dev, NULL);
        return 0;
 }