[PATCH v13 33/56] touchscreen: sur40: Stop direct calls to queue num_buffers field

Dmitry Torokhov dmitry.torokhov at gmail.com
Sat Oct 28 19:29:02 PDT 2023


On Thu, Oct 19, 2023 at 02:51:59PM +0200, Benjamin Gaignard wrote:
> Use vb2_get_num_buffers() to avoid using queue num_buffers field directly.
> This allows us to change how the number of buffers is computed in the
> future.
> 
> Signed-off-by: Benjamin Gaignard <benjamin.gaignard at collabora.com>
> CC: Dmitry Torokhov <dmitry.torokhov at gmail.com>
> CC: Henrik Rydberg <rydberg at bitmath.org>

Acked-by: Dmitry Torokhov <dmitry.torokhov at gmail.com>

Feel free to merge with the rest of the series.

Thanks.

-- 
Dmitry



More information about the Linux-rockchip mailing list