static void pcsp_stop_beep(struct snd_pcsp *chip) { spin_lock_irq(&chip->substream_lock); if (!chip->playback_substream) pcspkr_stop_sound(); spin_unlock_irq(&chip->substream_lock); }
static void pcsp_stop_beep(struct snd_pcsp *chip) { pcsp_sync_stop(chip); pcspkr_stop_sound(); }