Home
last modified time | relevance | path

Searched refs:reader (Results 1 – 1 of 1) sorted by relevance

/sound/soc/sti/
Duniperif_reader.c49 struct uniperif *reader = dev_id; in uni_reader_irq_handler() local
52 if (reader->state == UNIPERIF_STATE_STOPPED) { in uni_reader_irq_handler()
54 dev_warn(reader->dev, "unexpected IRQ "); in uni_reader_irq_handler()
59 status = GET_UNIPERIF_ITS(reader); in uni_reader_irq_handler()
60 SET_UNIPERIF_ITS_BCLR(reader, status); in uni_reader_irq_handler()
63 if (unlikely(status & UNIPERIF_ITS_FIFO_ERROR_MASK(reader))) { in uni_reader_irq_handler()
64 dev_err(reader->dev, "FIFO error detected"); in uni_reader_irq_handler()
66 snd_pcm_stream_lock(reader->substream); in uni_reader_irq_handler()
67 snd_pcm_stop(reader->substream, SNDRV_PCM_STATE_XRUN); in uni_reader_irq_handler()
68 snd_pcm_stream_unlock(reader->substream); in uni_reader_irq_handler()
[all …]