linux/sound/soc/sof/intel
Kai Vehmanen 23ee09032d
ASoC: SOF: Intel: refactor i915_get/put functions
The current interface to control i915 display power is misleading.
The hda_codec_i915_get() and hda_codec_i915_put() names suggest
a refcounting based interface. This is confusing as no refcounting
is done and the underlying HDAC library interface does not support
refcounts eithers.

Clarify the code by replacing the functions with a single
hda_codec_i915_display_power() that is aligned with
snd_hdac_display_power().

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20200120160117.29130-2-kai.vehmanen@linux.intel.com
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-01-27 17:51:27 +00:00
..
apl.c ASoC: SOF: move arch_ops under ops 2019-12-18 20:02:02 +00:00
bdw.c ASoC: SOF: Intel: add namespace for XTENSA 2019-12-18 20:02:21 +00:00
byt.c ASoC: SOF: Intel: add namespace for XTENSA 2019-12-18 20:02:21 +00:00
cnl.c ASoC: SOF: move arch_ops under ops 2019-12-18 20:02:02 +00:00
hda-bus.c ASoC: SOF: Intel: Add missing include file hdac_hda.h 2019-08-09 13:24:20 +01:00
hda-codec.c ASoC: SOF: Intel: refactor i915_get/put functions 2020-01-27 17:51:27 +00:00
hda-ctrl.c ASoC: SOF: Intel: add codec_mask module parameter 2019-12-10 13:13:38 +00:00
hda-dai.c ASoC: SOF: Intel: hda-dai: fix compilation warning in pcm_prepare 2020-01-14 15:26:59 +00:00
hda-dsp.c ASoC: SOF: Intel: hda: set L1SEN on S0ix suspend 2019-11-08 12:10:08 +00:00
hda-ipc.c ASoC: SOF: Intel: hda: solve MSI issues by merging ipc and stream irq handlers 2019-12-09 18:35:56 +00:00
hda-ipc.h ASoC: SOF: Intel: HDA: add cAVS specific compact IPC header file 2019-10-28 14:43:58 +00:00
hda-loader.c ASoC: Fixes for v5.5 2020-01-17 15:38:56 +00:00
hda-pcm.c ASoC: SOF: partition audio-related parts from SOF core 2019-12-09 18:38:57 +00:00
hda-stream.c ASoC: SOF: partition audio-related parts from SOF core 2019-12-09 18:38:57 +00:00
hda-trace.c ASoC: SOF: Intel: Add Intel specific HDA trace operations 2019-04-28 02:51:23 +09:00
hda.c ASoC: SOF: Intel: refactor i915_get/put functions 2020-01-27 17:51:27 +00:00
hda.h ASoC: SOF: Intel: refactor i915_get/put functions 2020-01-27 17:51:27 +00:00
intel-ipc.c ASoC: SOF: Intel: add module namespace for legacy IPC 2019-12-18 19:50:53 +00:00
Kconfig ASoC: SOF: Intel: make common HDMI driver default 2019-12-09 18:32:40 +00:00
Makefile ASoC: SOF: Add Build support for SOF core and Intel drivers 2019-04-28 02:51:46 +09:00
shim.h ASoC: SOF: remove references to Haswell 2019-12-18 19:51:40 +00:00