Skip to content
  1. Nov 25, 2021
    • Yang Yingliang's avatar
      ASoC: SOF: mediatek: Add missing of_node_put() in platform_parse_resource() · fc6c62cf
      Yang Yingliang authored
      
      
      The node pointer is returned by of_parse_phandle() with
      refcount incremented in platform_parse_resource(). Calling
      of_node_put() to aovid the refcount leak.
      
      Reported-by: default avatarHulk Robot <hulkci@huawei.com>
      Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
      Link: https://lore.kernel.org/r/20211125071608.3056715-1-yangyingliang@huawei.com
      
      
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      fc6c62cf
    • Jiaxin Yu's avatar
      ASoC: mediatek: remove unnecessary CONFIG_PM · faf69551
      Jiaxin Yu authored
      
      
      The unnecessary conditional inclusion caused the following warning.
      
      Such as:
      >> sound/soc/mediatek/mt8192/mt8192-afe-pcm.c:2368:32: warning: unused
      >> variable 'mt8192_afe_pm_ops' [-Wunused-const-variable]
         static const struct dev_pm_ops mt8192_afe_pm_ops = {
      
      Because runtime_pm already handles the case without CONFIG_PM, we
      can remove CONFIG_PM condition.
      
      Signed-off-by: default avatarJiaxin Yu <jiaxin.yu@mediatek.com>
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Acked-by: default avatarTzung-Bi Shih <tzungbi@google.com>
      Link: https://lore.kernel.org/r/20211125042422.2349-1-jiaxin.yu@mediatek.com
      
      
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      faf69551
    • Mark Brown's avatar
      ASoC: SOF: Intel: power optimizations with HDaudio SPIB register · cd2f33e9
      Mark Brown authored
      Merge series from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>:
      
      	The use of the SPIB register helps reduce power consumption - though
      	to a smaller degree than DMI_L1. This hardware capability is however
      	incompatible with userspace-initiated rewinds typically used by
      	PulseAudio.
      
      	In the past (2015..2017) Intel suggested an API extension to let
      	applications disable rewinds. At the time the feedback was that such a
      	capability was too Intel-specific and SPIB remained unused except for
      	loading DSP code. We now see devices with smaller batteries being
      	released, and it's time to revisit Linux support for SPIB to extend
      	battery life.
      
      	In this update the rewinds are disabled via an opt-in kernel
      	parameter. In the previous reviews, there was consensus that a Kconfig
      	option was too complicated for distributions to set, and we are
      	missing a TBD API to expose such capabilities to user-space.
      
      	The debate on whether or not to use rewinds, and the impact of
      	disabling rewinds, will likely be closed when Intel releases the
      	'deep-buffer' support, currently under development [2][3]. With this
      	solution, rewinds will not be needed, ever. When an application deals
      	with content that is not latency-sensitive (e.g. music playback), it
      	will be able to reduce power consumption by selecting a different PCM
      	device with increased buffering capabilities.  Low-latency streams
      	will be handled by the 'regular' path. In other words, the impossible
      	compromise between power and latency will be handled with different
      	PCM devices/profiles for the same endpoint, and we can push the design
      	of capability negotiation to a later time when all the building blocks
      	(firmware topology, kernel, userspace) are ready - we still have
      	firmware xruns, DPCM race conditions to solve, and a need to describe
      	these alternate PCM devices with UCM using 'modifiers'.
      cd2f33e9
  2. Nov 24, 2021
  3. Nov 23, 2021
    • Mark Brown's avatar
      ASoC: SOF: Add PM support for i.MX8/i.MX8X/i.MX8M · 65c16dd2
      Mark Brown authored
      Merge series from Daniel Baluta <daniel.baluta@oss.nxp.com>:
      
      	This patch series adds support for System PM and Runtime PM with
      	SOF for i.MX8 platforms.
      65c16dd2
    • Mark Brown's avatar
      ASoC: stm32: add pm runtime support · 6d86bdb3
      Mark Brown authored
      Merge series from Olivier Moysan <olivier.moysan@foss.st.com>:
      
      	Enable support of pm runtime on STM32 SPDIFRX, I2S and DFSDM drivers
      	to allow power state monitoring.
      6d86bdb3
    • Mark Brown's avatar
      Support BCLK input clock in tlv320aic31xx · 21b15926
      Mark Brown authored
      Merge series from Ariel D'Alessandro <ariel.dalessandro@collabora.com>:
      
      	This patchset modifies the tlv320aic31xx driver to update its sysclk if
      	BCLK is used as the input clock. This allows to be used by the generic
      	fsl-asoc-card, without having to add a specific driver.
      21b15926
    • Mark Brown's avatar
      ASoC: SOF: enable multicore with dynamic pipelines · 27744454
      Mark Brown authored
      Merge series from Kai Vehmanen <kai.vehmanen@linux.intel.com>:
      
      	When a pipeline is marked dynamic in the SOF DSP firmware
      	topology definition (the tplg file kernel loads from filesystem),
      	it means the pipeline resources are not allocated when DSP is
      	booted (at driver probe, or at runtime resume), but rather delayed
      	until the pipeline is actually used.
      27744454
  4. Nov 22, 2021
  5. Nov 19, 2021