diff options
| author | 2018-12-17 07:14:35 -0500 | |
|---|---|---|
| committer | 2019-01-07 13:54:01 -0500 | |
| commit | 07758747a2d7963593421b4e782b0f20a80f58d3 (patch) | |
| tree | f79fbd8c0e24bff3538980e771f88351b6966533 /drivers/media/usb/pwc/pwc-if.c | |
| parent | media: Documentation: staging/ipu3-imgu: Add license information (diff) | |
| download | linux-dev-07758747a2d7963593421b4e782b0f20a80f58d3.tar.xz linux-dev-07758747a2d7963593421b4e782b0f20a80f58d3.zip | |
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
