commit | 19a5e41637760cf8de8027419810654f0aa164e9 | [log] [tgz] |
---|---|---|
author | Xiaoyu Ye <benyxy@codeaurora.org> | Mon Apr 16 18:44:38 2018 -0700 |
committer | Xiaoyu Ye <benyxy@codeaurora.org> | Wed Apr 18 14:31:17 2018 -0700 |
tree | ba67c3bb7efabd414af6bdbe6a32e5934b40ba0e | |
parent | 1b710779250de0fc64d26cce79ab3b911417c43d [diff] |
codecs: wcd_spi: do not use on-stack memory for any transfers Currently, for some small (1/4/8 bytes) transfers, the driver uses on-stack memory to perform the transfer. This is not safe as the underlying master/dma driver could try to map/dma this memory. Change makes sure to never use on-stack memory for any transfers. Change-Id: I6b157e26ea7ca9f865004a87153c658756f6c368 Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org> Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>