[alsa-devel] [PATCH 0/3] ASoC: omap: Fix and add pm_qos configuration

Peter Ujfalusi peter.ujfalusi at ti.com
Wed Nov 14 12:06:20 CET 2018


Hi,

The defconfig for OMAP2+ now have the CPU_IDLE enabled which can cause audio
artifacts because we try to enter too low power state from where the wakeup
takes longer than the FIFO can tolerate on the dai side.

While adding pm_qos to McPDM and DMIC I have noticed that the McBSP calculation
was not correct as we need usec for the latency value.

Regards,
Peter
---
Peter Ujfalusi (3):
  ASoC: omap-mcbsp: Fix latency value calculation for pm_qos
  ASoC: omap-mcpdm: Add pm_qos handling to avoid under/overruns with
    CPU_IDLE
  ASoC: omap-dmic: Add pm_qos handling to avoid overruns with CPU_IDLE

 sound/soc/omap/omap-dmic.c  |  9 ++++++++
 sound/soc/omap/omap-mcbsp.c |  6 +++---
 sound/soc/omap/omap-mcpdm.c | 43 ++++++++++++++++++++++++++++++++++++-
 3 files changed, 54 insertions(+), 4 deletions(-)

-- 
Peter

Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki



More information about the Alsa-devel mailing list