On Fri, May 14, 2021 at 12:19:38PM -0500, Chris Morgan wrote: > +static int rk817_codec_parse_dt_property(struct device *dev, > + struct rk817_codec_priv *rk817) > +{ > + struct device_node *node = dev->parent->of_node; > + > + if (!node) { > + dev_err(dev, "%s() dev->parent->of_node is NULL\n", > + __func__); > + return -ENODEV; > + } There's no need to fail the probe here, you won't be able to read any DT properties but that shouldn't stop the driver binding.
Attachment:
signature.asc
Description: PGP signature