diff options
author | Tristram Ha <[email protected]> | 2018-11-02 19:23:41 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-11-02 23:56:34 -0700 |
commit | 284fb78ed7572117846f8e1d1d8e3dbfd16880c2 (patch) | |
tree | f4b7e53eec33c7b85d5cc895ce8750b1ef02e983 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | |
parent | 2384d02520ff2a916169b2fd85ea50e923ed56c2 (diff) |
net: dsa: microchip: initialize mutex before use
Initialize mutex before use. Avoid kernel complaint when
CONFIG_DEBUG_LOCK_ALLOC is enabled.
Fixes: b987e98e50ab90e5 ("dsa: add DSA switch driver for Microchip KSZ9477")
Signed-off-by: Tristram Ha <[email protected]>
Reviewed-by: Pavel Machek <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions