Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a907f0a5 authored by Junjie Wu's avatar Junjie Wu Committed by Stephen Boyd
Browse files

msm: camera: Improve interface for large SPI reads



For each SPI read, two buffers of read size + header need to be
allocated.  These allocation might fail if read size is large.  It's also
expensive to allocate memory each time for repeated transfers.
Therefore, msm_camera_spi_read_seq_l() is provided to use pre-allocated
buffers instead of allocating them each time.

Change-Id: Ibd52fd26bb0a4fdd913bef9c2bfc410152245c3b
Signed-off-by: default avatarJunjie Wu <junjiew@codeaurora.org>
parent e426fb71
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment