[lkml]   [2017]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC PATCH 1/2] ASoC: add support of mclk clock providers in wm8894 driver
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).
[unhandled content-type:application/pgp-signature]
 \ /
  Last update: 2017-12-14 18:31    [W:0.109 / U:1.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site