summaryrefslogtreecommitdiffstats
path: root/pcm.c
diff options
context:
space:
mode:
authorMark Farrugia <mark.farrugia@fiberdyne.com.au>2019-04-03 17:37:54 +1100
committerMark Farrugia <mark.farrugia@fiberdyne.com.au>2019-04-08 13:57:46 +1000
commit16912fcce2802752ba11b884d920c71cae5eb1c9 (patch)
treea5a1f56d81e7fe6a10e545697430daa7769cca6c /pcm.c
parent92c383e87fffd5fd22c553e30b9fc94f2cb5f9c0 (diff)
Refactor 'sealed' to 'configured'
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
Diffstat (limited to 'pcm.c')
-rw-r--r--pcm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pcm.c b/pcm.c
index 32456cd..8fec3f0 100644
--- a/pcm.c
+++ b/pcm.c
@@ -90,8 +90,8 @@ static int pcm_open(struct snd_pcm_substream *substream)
struct snd_pcm_hardware *hw;
unsigned int chans = 0;
- if (!snd_avirt_streams_sealed()) {
- D_ERRORK("Cannot open PCM. Card is not sealed");
+ if (!snd_avirt_streams_configured()) {
+ D_ERRORK("Cannot open PCM. Card is not configured");
return -EPERM;
}