diff options
| author | Tzung-Bi Shih <[email protected]> | 2023-10-03 08:05:04 +0000 |
|---|---|---|
| committer | Tzung-Bi Shih <[email protected]> | 2023-10-05 10:10:49 +0000 |
| commit | e410b4ade83d06a046f6e32b5085997502ba0559 (patch) | |
| tree | 5cd7c42dd2ed9d65588eda7aa0f9ee3a11b5b894 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | platform/chrome: cros_ec: fix compilation warning (diff) | |
| download | kernel-e410b4ade83d06a046f6e32b5085997502ba0559.tar.gz kernel-e410b4ade83d06a046f6e32b5085997502ba0559.zip | |
platform/chrome: kunit: initialize lock for fake ec_dev
cros_ec_cmd_xfer() uses ec_dev->lock. Initialize it.
Otherwise, dmesg shows the following:
> DEBUG_LOCKS_WARN_ON(lock->magic != lock)
> ...
> Call Trace:
> ? __mutex_lock
> ? __warn
> ? __mutex_lock
> ...
> ? cros_ec_cmd_xfer
Reviewed-by: Guenter Roeck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Tzung-Bi Shih <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
