On Thu, Dec 8, 2016 at 3:31 PM, Vinod Koul <vinod.koul@xxxxxxxxx> wrote: > - ret = regmap_write(max9867->regmap, MAX9867_IFC1A, iface1A); > - ret = regmap_write(max9867->regmap, MAX9867_IFC1B, iface1B); > + regmap_write(max9867->regmap, MAX9867_IFC1A, iface1A); > + regmap_write(max9867->regmap, MAX9867_IFC1B, iface1B); What about doing like this instead? ret = regmap_write(max9867->regmap, MAX9867_IFC1A, iface1A); if (ret) return ret; ret = regmap_write(max9867->regmap, MAX9867_IFC1B, iface1B); if (ret) return ret; return 0; _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel