diff options
Diffstat (limited to 'sound')
-rw-r--r-- | sound/arm/aaci.c | 2 | ||||
-rw-r--r-- | sound/parisc/harmony.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sound/arm/aaci.c b/sound/arm/aaci.c index 98877030d579..34195b748608 100644 --- a/sound/arm/aaci.c +++ b/sound/arm/aaci.c | |||
@@ -900,6 +900,8 @@ static int __devinit aaci_probe(struct amba_device *dev, void *id) | |||
900 | if (ret) | 900 | if (ret) |
901 | goto out; | 901 | goto out; |
902 | 902 | ||
903 | snd_card_set_dev(aaci->card, &dev->dev); | ||
904 | |||
903 | ret = snd_card_register(aaci->card); | 905 | ret = snd_card_register(aaci->card); |
904 | if (ret == 0) { | 906 | if (ret == 0) { |
905 | dev_info(&dev->dev, "%s, fifo %d\n", aaci->card->longname, | 907 | dev_info(&dev->dev, "%s, fifo %d\n", aaci->card->longname, |
diff --git a/sound/parisc/harmony.c b/sound/parisc/harmony.c index d7a8f9f5896f..f560dd8cdb90 100644 --- a/sound/parisc/harmony.c +++ b/sound/parisc/harmony.c | |||
@@ -880,6 +880,8 @@ snd_harmony_create(snd_card_t *card, | |||
880 | goto free_and_ret; | 880 | goto free_and_ret; |
881 | } | 881 | } |
882 | 882 | ||
883 | snd_card_set_dev(card, &padev->dev); | ||
884 | |||
883 | *rchip = h; | 885 | *rchip = h; |
884 | 886 | ||
885 | return 0; | 887 | return 0; |