Re: [PATCH] ASoC: Intel: mrfld: simplify sst_fill_widget_module_info

2015-06-15 Thread Mark Brown
On Thu, Jun 04, 2015 at 10:13:53AM +0200, Rasmus Villemoes wrote: > Some tiny improvements, cutting 180 bytes off the generated code. Applied, thanks signature.asc Description: Digital signature

Re: [PATCH] ASoC: Intel: mrfld: simplify sst_fill_widget_module_info

2015-06-14 Thread Vinod Koul
On Thu, Jun 04, 2015 at 10:13:53AM +0200, Rasmus Villemoes wrote: > Some tiny improvements, cutting 180 bytes off the generated code. > > - use strchr() for single-character needle > > - compute index using pointer subtraction instead of two strlen() > calls > > - factor out the common check f