diff options
author | Mark Farrugia <mark.farrugia@fiberdyne.com.au> | 2019-04-03 17:37:54 +1100 |
---|---|---|
committer | Mark Farrugia <mark.farrugia@fiberdyne.com.au> | 2019-04-03 17:37:54 +1100 |
commit | e152900bc73f1f7d3b33aa5369c36da762b0b042 (patch) | |
tree | fa43c9a1454bb2ce41e6b653abe0ca8923fd8502 /pcm.c | |
parent | 9e19ac94121963f26f85df1685ac346cc698fe4b (diff) |
Refactor 'sealed' to 'configured'
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
Diffstat (limited to 'pcm.c')
-rw-r--r-- | pcm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |