summaryrefslogtreecommitdiffstats
path: root/drivers/media/spi/gs1662.c
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2024-01-04 18:46:00 +0200
committerJosé Roberto de Souza <jose.souza@intel.com>2024-01-05 06:59:55 -0800
commitfe761f3465c00f372cb4acb004579c7c377ae08b (patch)
tree55f854f23129f22fa9ce49f2b6c2cf87b1d9b062 /drivers/media/spi/gs1662.c
parent570a8fc233b2adb659015bfb09f90a46a6b594d4 (diff)
downloadlinux-stable-fe761f3465c00f372cb4acb004579c7c377ae08b.tar.gz
linux-stable-fe761f3465c00f372cb4acb004579c7c377ae08b.tar.bz2
linux-stable-fe761f3465c00f372cb4acb004579c7c377ae08b.zip
drm/i915: don't make assumptions about intel_wakeref_t type
intel_wakeref_t is supposed to be a mostly opaque cookie to its users. It should only be checked for being non-zero and set to zero. Debug logging its actual value is meaningless. Switch to just debug logging whether the async_put_wakeref is non-zero. The issue dates back to much earlier than commit b49e894c3fd8 ("drm/i915: Replace custom intel runtime_pm tracker with ref_tracker library"), but this is the one that brought about a build failure due to the printf format. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Closes: https://lore.kernel.org/r/20240102111222.2db11208@canb.auug.org.au Fixes: b49e894c3fd8 ("drm/i915: Replace custom intel runtime_pm tracker with ref_tracker library") Cc: Andrzej Hajda <andrzej.hajda@intel.com> Cc: Imre Deak <imre.deak@intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Imre Deak <imre.deak@intel.com> Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com> Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240104164600.783371-1-jani.nikula@intel.com
Diffstat (limited to 'drivers/media/spi/gs1662.c')
0 files changed, 0 insertions, 0 deletions