On Tue, May 31, 2016 at 11:57:41AM +0800, John Hsu wrote: > + if (!component->regmap) > + return -EINVAL; > + regmap_raw_read(component->regmap, NAU8825_REG_BIQ_COF1, > + ucontrol->value.bytes.data, params->max); > + return 0; You should really check the return code from regmap, especially for larger block transfers where some controllers may have limitations.
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel