Home
last modified time | relevance | path

Searched hist:"68879806 a567a50ba5fd25b16d2f923e88715e7f" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/media/usb/go7007/
H A Dgo7007-i2c.cdiff 68879806a567a50ba5fd25b16d2f923e88715e7f Mon May 06 23:10:29 CEST 2024 Ricardo Ribalda <ribalda@chromium.org> media: go7007: Refactor Adlink PCI-MPG24 i2c mutex

Move the lock/unlock to its own function. It makes the code cleaner and
cocci happier.

Fix the following cocci warning:
drivers/media/usb/go7007/go7007-i2c.c:125:1-7: preceding lock on line 61

Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>