Skip to content

Commit

Permalink
ASoC: Davinci: Basi board: zl38005 write register fail not blocking
Browse files Browse the repository at this point in the history
In case of write fails, that seems to be possible during init startup,
the zl38005 control are added anyway to ASoC interface.
It is possible that some registers are not initialized in the correct way.

Signed-off-by: Raffaele Recalcati <raffaele.recalcati@bticino.it>
  • Loading branch information
bticino authored and sources committed Sep 16, 2011
1 parent 6748f8d commit 26abf9a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions sound/soc/davinci/davinci-basi.c
Expand Up @@ -104,8 +104,6 @@ static int basi_cq93_init(struct snd_soc_codec *codec)
ARRAY_SIZE(cq93_dapm_widgets));

err = zl38005_init();
if (err < 0)
return err;

err = zl38005_add_controls(codec);
if (err < 0)
Expand Down

0 comments on commit 26abf9a

Please sign in to comment.