ALSA: lola - Add SRC refcounting

Added the refcounting for the exclusive SRC control.
Also, fixed the possible stall after PCM pause operations.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
diff --git a/sound/pci/lola/lola.h b/sound/pci/lola/lola.h
index bc8110f..180c2c1 100644
--- a/sound/pci/lola/lola.h
+++ b/sound/pci/lola/lola.h
@@ -306,6 +306,7 @@
 	/* flags */
 	unsigned int opened:1;
 	unsigned int prepared:1;
+	unsigned int paused:1;
 	unsigned int running:1;
 };
 
@@ -356,6 +357,8 @@
 
 	/* clock */
 	struct lola_clock_widget clock;
+	int ref_count_rate;
+	unsigned int sample_rate;
 
 	/* mixer */
 	struct lola_mixer_widget mixer;
@@ -370,7 +373,6 @@
 	unsigned int sample_rate_max;
 
 	/* flags */
-	unsigned int running :1;
 	unsigned int initialized :1;
 	unsigned int cold_reset :1;