[alsa-devel] [PATCH] ASoC: TSCS42xx: make const array norm_addrs static, reduces object code size

Steven Eckhoff steven.eckhoff.opensource at gmail.com
Fri Mar 9 02:03:09 CET 2018


On Wed, Feb 14, 2018 at 05:21:53PM +0000, Colin King wrote:

> Don't populate the const array norm_addrs on the stack, instead make it
> static.  Makes the object code smaller by over 230 bytes.  Also re-format
> array data as the insertion of the static keywork made the first line
> overly long.

I have tested this on our HAT and it works well. You can add:

Reviewed-by: Steven Eckhoff <steven.eckhoff.opensource at gmail.com>
Tested-by: Steven Eckhoff <steven.eckhoff.opensource at gmail.com>

Regards,

Steven


More information about the Alsa-devel mailing list