Skip to content
Commit f7d5dffc authored by Jean-Jacques Hiblot's avatar Jean-Jacques Hiblot Committed by Jaehoon Chung
Browse files

mmc: don't use malloc_cache_aligned()



Not using this function reduces the size of the binary. It's replaces by
a standard malloc() and the alignment requirement is handled by an
intermediate buffer on the stack.

Also make sure that the allocated buffer is freed in case of error.

Signed-off-by: default avatarJean-Jacques Hiblot <jjhiblot@ti.com>
parent 1de06b9f
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