Re: [RFC PATCH 1/2] ASoC: add support of mclk clock providers in wm8894 driver

From: Mark Brown
Date: Thu Dec 14 2017 - 12:31:14 EST


On Thu, Dec 14, 2017 at 05:53:57PM +0100, Olivier Moysan wrote:

> + pdata->mclk1 = devm_clk_get(wm8994->dev, "MCLK1");
> + if (IS_ERR(pdata->mclk1))
> + pdata->mclk1 = NULL;

These should special case -EPROBE_DEFER so we defer properly if we need
to (and ideally log an error in case there was a MCLK and we legit ran
into an error).

Attachment: signature.asc
Description: PGP signature