diff options
author | Alexander Shishkin <alexander.shishkin@linux.intel.com> | 2019-10-28 10:06:46 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-04 17:01:23 +0300 |
commit | e5a340f770278f4de42e8bac19f2ebeb77ddfae4 (patch) | |
tree | 95ee45e307f7da8780e5d5fbf8cf68cf15bfb0a4 /drivers/hwtracing/intel_th/pti.c | |
parent | 87c0b9c79ec136ea76a14a88d675a746bc6a87f9 (diff) | |
download | linux-e5a340f770278f4de42e8bac19f2ebeb77ddfae4.tar.xz |
intel_th: msu: Fix an uninitialized mutex
Commit 615c164da0eb ("intel_th: msu: Introduce buffer interface") added a
mutex that it forgot to initialize, resulting in a lockdep splat.
Fix that by initializing the mutex statically.
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Fixes: 615c164da0eb ("intel_th: msu: Introduce buffer interface")
Link: https://lore.kernel.org/r/20191028070651.9770-3-alexander.shishkin@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwtracing/intel_th/pti.c')
0 files changed, 0 insertions, 0 deletions