diff options
author | Jean-Jacques Hiblot <jjhiblot@ti.com> | 2017-11-30 17:43:59 +0100 |
---|---|---|
committer | Jaehoon Chung <jh80.chung@samsung.com> | 2018-01-12 18:11:04 +0900 |
commit | f7d5dffc65c1fdb1d1e4a69606a428ef62cfcdf5 (patch) | |
tree | 721cb7df55aeace420fe9753d622973ec1a38588 /drivers/misc/cros_ec_lpc.c | |
parent | 1de06b9fa5871b75012307ea736c8a43edf5a888 (diff) |
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: Jean-Jacques Hiblot <jjhiblot@ti.com>
Diffstat (limited to 'drivers/misc/cros_ec_lpc.c')
0 files changed, 0 insertions, 0 deletions