On 18-05-17 15:11, Lars-Peter Clausen wrote: > On 05/17/2018 03:00 PM, Marco Felsch wrote: > [...] > > + if (IS_ERR(priv->gpiod_shutdown)) { > > + err = PTR_ERR(priv->gpiod_shutdown); > > + if (err != -EPROBE_DEFER) { > > + dev_err(dev, "Failed to get 'shutdown' gpio: %d\n", > > + err); > > + return err; > > You also want to return the error in the EPROBE_DEFER case, so the driver > tries to probe again later. > Yes, you're right. > > + } > > + } > > + > > + return devm_snd_soc_register_component(dev, &ssm2305_component_driver, > > + NULL, 0); > > +} > [...] > -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html