diff options
Diffstat (limited to 'sound/pci/hda/hda_codec.c')
-rw-r--r-- | sound/pci/hda/hda_codec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index 7e38d6f7314b..e14f9f562874 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c | |||
@@ -1294,6 +1294,7 @@ int snd_hda_codec_new(struct hda_bus *bus, struct snd_card *card, | |||
1294 | dev_set_name(dev, "hdaudioC%dD%d", card->number, codec_addr); | 1294 | dev_set_name(dev, "hdaudioC%dD%d", card->number, codec_addr); |
1295 | dev_set_drvdata(dev, codec); /* for sysfs */ | 1295 | dev_set_drvdata(dev, codec); /* for sysfs */ |
1296 | device_enable_async_suspend(dev); | 1296 | device_enable_async_suspend(dev); |
1297 | codec->core.type = HDA_DEV_LEGACY; | ||
1297 | 1298 | ||
1298 | codec->bus = bus; | 1299 | codec->bus = bus; |
1299 | codec->card = card; | 1300 | codec->card = card; |