]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915/bios: add helper for reading SPI
authorJani Nikula <jani.nikula@intel.com>
Fri, 12 May 2023 11:14:46 +0000 (14:14 +0300)
committerJani Nikula <jani.nikula@intel.com>
Mon, 15 May 2023 08:17:29 +0000 (11:17 +0300)
commit3631c363b7c1d203a84d35e1f3d76160d8bd1961
treeed5a3a0fe75a11de936eb15a34c584ff35704335
parent6986f05b557bf1efea5bac8dbdffb7ee89d0cf77
drm/i915/bios: add helper for reading SPI

Add helper for reading SPI to not duplicate the write&read combo
everywhere.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230512111446.1524038-1-jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_bios.c