mirror of
https://github.com/torvalds/linux.git
synced 2026-06-10 07:32:29 +02:00
Revert "ASoC: core: On resume also check the soc device state"
This reverts commit ecf7611cae.
This commit is contained in:
parent
2448a5573a
commit
e041b29247
|
|
@ -774,12 +774,6 @@ static int soc_resume(struct device *dev)
|
|||
struct snd_soc_card *card = socdev->card;
|
||||
struct snd_soc_dai *cpu_dai = card->dai_link[0].cpu_dai;
|
||||
|
||||
/* If the initialization of this soc device failed, there is no codec
|
||||
* associated with it. Just bail out in this case.
|
||||
*/
|
||||
if (!card->codec)
|
||||
return 0;
|
||||
|
||||
/* AC97 devices might have other drivers hanging off them so
|
||||
* need to resume immediately. Other drivers don't have that
|
||||
* problem and may take a substantial amount of time to resume
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user