forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 230
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LF-2517: ASoC: ak4458: Check codec accessibility in probe
Sound card is created if the codec is not connected. The reason is codec accessibility isn't checked in probe. So move ak4458_init function from component driver's probe to ak4458_i2c_probe, if codec is not connected, then probe fail, sound card won't be created. Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Reviewed-by: Viorel Suman <viorel.suman@nxp.com>
- Loading branch information
1 parent
8270499
commit 11c1c06
Showing
1 changed file
with
44 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters