]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/audio: error log non-zero audio power refcount after unbind
authorJani Nikula <jani.nikula@intel.com>
Fri, 17 Apr 2020 06:51:32 +0000 (09:51 +0300)
committerJani Nikula <jani.nikula@intel.com>
Mon, 20 Apr 2020 06:41:10 +0000 (09:41 +0300)
commitb4ed131dbfb6d345e1e5f7cc65358e11ab46f10d
treee92e34b65a7ffb893744e7c9d3dd3456cecb00e8
parent27be41de45a70fe1cb0ae1cbd2fd6da1ce3ffe9a
drm/i915/audio: error log non-zero audio power refcount after unbind

We have some module unload/reload tests hitting an issue with i915
unbinding the component interface before the audio driver has properly
put the power. Log an error about it for ease of debugging. (Normally
this leads to a wakeref debug splat on the power well.)

Cc: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200417065132.23048-1-jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_audio.c