[Sound-open-firmware] [alsa-devel] [PATCH v3 02/14] ASoC: SOF: Add Sound Open Firmware KControl support

Pierre-Louis Bossart pierre-louis.bossart at linux.intel.com
Tue Dec 11 23:48:37 CET 2018


>> +	max_size = (be->max < max_size) ? be->max : max_size;
> min() / max() ?

Good catch, this can be simplified.

Not sure I like max_size = min (be->max, max_size), it's confusing.

Maybe

if (be->max < max_size)

     max_size = be->max;



More information about the Sound-open-firmware mailing list