2 Mar
2017
2 Mar
'17
12:45 p.m.
On Thu, 2017-03-02 at 15:04 +0800, Keyon Jie wrote:
We assume that there are always datas/spaces for playback/capture, and then don't need to check the host side buffer pointers, here remove these buffer check related code to save about 0.6KB to the firmware binary size.
We also do code cleanup for host in this patch: remove superfluous prefix 'host_' for host_data members, merge host_dma_cb_playback() and host_dma_cb_capture() as they have most common code, and the latter change can save about 0.25KB to firmware binary size.
Furthermore, we also fix the capture doesn't work issue at the same time.
Signed-off-by: Keyon Jie yang.jie@linux.intel.com
Thanks !
Applied.
Liam