Re: [PATCH v3 02/11] crypto: Add Allwinner sun8i-ce Crypto Engine

2019-10-11 Thread Corentin Labbe
On Fri, Oct 11, 2019 at 09:57:05AM +0200, Maxime Ripard wrote: > On Thu, Oct 10, 2019 at 08:23:19PM +0200, Corentin Labbe wrote: > > + ce->reset = devm_reset_control_get_optional(&pdev->dev, "bus"); > > + if (IS_ERR(ce->reset)) { > > + if (PTR_ERR(ce->reset) == -EPROBE_DEFER) > > +

Re: [PATCH v3 02/11] crypto: Add Allwinner sun8i-ce Crypto Engine

2019-10-11 Thread Maxime Ripard
On Thu, Oct 10, 2019 at 08:23:19PM +0200, Corentin Labbe wrote: > + ce->reset = devm_reset_control_get_optional(&pdev->dev, "bus"); > + if (IS_ERR(ce->reset)) { > + if (PTR_ERR(ce->reset) == -EPROBE_DEFER) > + return PTR_ERR(ce->reset); > + dev_er