aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/bt87x.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/bt87x.c')
-rw-r--r--sound/pci/bt87x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/bt87x.c b/sound/pci/bt87x.c
index 8546711d12f9..70951fd9b354 100644
--- a/sound/pci/bt87x.c
+++ b/sound/pci/bt87x.c
@@ -443,7 +443,7 @@ static int snd_bt87x_pcm_open(struct snd_pcm_substream *substream)
443 443
444_error: 444_error:
445 clear_bit(0, &chip->opened); 445 clear_bit(0, &chip->opened);
446 smp_mb__after_clear_bit(); 446 smp_mb__after_atomic();
447 return err; 447 return err;
448} 448}
449 449
@@ -458,7 +458,7 @@ static int snd_bt87x_close(struct snd_pcm_substream *substream)
458 458
459 chip->substream = NULL; 459 chip->substream = NULL;
460 clear_bit(0, &chip->opened); 460 clear_bit(0, &chip->opened);
461 smp_mb__after_clear_bit(); 461 smp_mb__after_atomic();
462 return 0; 462 return 0;
463} 463}
464 464