[Sound-open-firmware] [PATCH] host: remove host side buffer check and fix for capture
Liam Girdwood
liam.r.girdwood at linux.intel.com
Thu Mar 2 12:45:34 CET 2017
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 at linux.intel.com>
> ---
Thanks !
Applied.
Liam
More information about the Sound-open-firmware
mailing list