mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-13 03:46:17 +00:00
In stk_camera_read_reg() a single byte buffer is alloc-ed and freed on every function call. Since the size is known, move the buffer to the struct stk_camera where it will be alloc-ed and freed once. Signed-off-by: Tom Rix <trix@redhat.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| stk-sensor.c | ||
| stk-webcam.c | ||
| stk-webcam.h | ||