]> www.infradead.org Git - nvme.git/commit
platform/chrome: cros_ec_lpc: Handle EC without CRS section
authorGwendal Grignou <gwendal@chromium.org>
Tue, 14 Jan 2025 20:21:22 +0000 (12:21 -0800)
committerTzung-Bi Shih <tzungbi@kernel.org>
Wed, 15 Jan 2025 01:28:50 +0000 (01:28 +0000)
commitfccebbdde2067e359f01382a72c31ed2af7acbac
treee83ebc79c810e6ddf4b1e3aab96c53553e6d5043
parent15fa0621d7b389effbf09e94b765e828f931f8c0
platform/chrome: cros_ec_lpc: Handle EC without CRS section

Fix logic to support GOOG0004 device without CRS section.
Instead of failing, assume there are not memory mapped EC registers.

Fixes: be4fccb5e1fb ("platform/chrome: cros_ec_lpc: Support direct EC register memory access")
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Link: https://lore.kernel.org/r/20250114202122.2352277-1-gwendal@chromium.org
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
drivers/platform/chrome/cros_ec_lpc.c