diff options
author | Kai Vehmanen <[email protected]> | 2020-01-20 18:01:15 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-01-27 17:51:27 +0000 |
commit | 23ee09032d44736c5e8c7becbe03170dbc6f2e8d (patch) | |
tree | 9ef273da75aa4e22486964f6849d4f28bbef25c9 /tools/perf/scripts | |
parent | e91440ddfbf4a5d7c541aed8c55c0ec76d9b26c7 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Acked-by: Pierre-Louis Bossart <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions