Searched hist:"69 fd04d06adb2cc67ce491df14fe3125bac6f7a7" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/media/usb/stk1160/ |
H A D | stk1160.h | diff 69fd04d06adb2cc67ce491df14fe3125bac6f7a7 Tue Jan 25 02:02:12 CST 2022 Dafna Hirschfeld <dafna.hirschfeld@collabora.com> media: stk1160: move transfer_buffer and urb to same struct 'stk1160_urb'
Instead of having two separated arrays, one for the urbs and one for their buffers, have one array of a struct containing both. In addition, the array is just 16 pointers, no need to dynamically allocate it.
Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com> Reviewed-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
|
H A D | stk1160-video.c | diff 69fd04d06adb2cc67ce491df14fe3125bac6f7a7 Tue Jan 25 02:02:12 CST 2022 Dafna Hirschfeld <dafna.hirschfeld@collabora.com> media: stk1160: move transfer_buffer and urb to same struct 'stk1160_urb'
Instead of having two separated arrays, one for the urbs and one for their buffers, have one array of a struct containing both. In addition, the array is just 16 pointers, no need to dynamically allocate it.
Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com> Reviewed-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
|
H A D | stk1160-v4l.c | diff 69fd04d06adb2cc67ce491df14fe3125bac6f7a7 Tue Jan 25 02:02:12 CST 2022 Dafna Hirschfeld <dafna.hirschfeld@collabora.com> media: stk1160: move transfer_buffer and urb to same struct 'stk1160_urb'
Instead of having two separated arrays, one for the urbs and one for their buffers, have one array of a struct containing both. In addition, the array is just 16 pointers, no need to dynamically allocate it.
Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com> Reviewed-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
|