diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2018-12-17 07:14:35 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-01-07 13:54:01 -0500 |
commit | 07758747a2d7963593421b4e782b0f20a80f58d3 (patch) | |
tree | f79fbd8c0e24bff3538980e771f88351b6966533 /drivers/media/usb/pwc/pwc-if.c | |
parent | 3eefa620d08dc6aa9323e409f1a307783c528004 (diff) |
media: platform: Fix missing spin_lock_init()
The driver allocates the spinlock but not initialize it.
Use spin_lock_init() on it to initialize it correctly.
This is detected by Coccinelle semantic patch.
Fixes: d2b4387f3bdf ("media: platform: Add Aspeed Video Engine driver")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/usb/pwc/pwc-if.c')
0 files changed, 0 insertions, 0 deletions