forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixup! ASoC: hdac_hda: add HDA patch loader support
There will be a timing issue if we get drvdata in hdac_hda_dev_probe. hdac_hda_dev_probe will be triggered by hda_codec_device_init() -> snd_hdac_device_register(), and dev_set_drvdata(&codec->core.dev, hda_priv) is called after that. As a result, dev_get_drvdata() may get NULL in hdac_hda_dev_probe(). This patch moves firmware request to hdac_hda_codec_probe() which can guarantee drvdata can be get properly. Signed-off-by: Bard Liao <[email protected]>
- Loading branch information
Showing
3 changed files
with
21 additions
and
53 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
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
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