summaryrefslogtreecommitdiff
path: root/sound/pci/ctxfi/ctatc.c
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2014-09-29 14:33:24 +0530
committerTakashi Iwai <tiwai@suse.de>2014-09-30 10:36:12 +0200
commite5347f9ab7cdafc2dbc0d4f7f30204293be71d8e (patch)
tree9608f5ef7fc971ed7d994dbf21bf4ece5f089868 /sound/pci/ctxfi/ctatc.c
parent3d0fdc86e4b500dfcfbf2f68039d2d6853536c2e (diff)
ALSA: ctxfi: initialized snd_card
initialized the reference of snd_card which was added to the various structures through the previous patch of the series. these references of snd_card will be used in a later patch to convert the pr_* macros to dev_* Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ctxfi/ctatc.c')
-rw-r--r--sound/pci/ctxfi/ctatc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/ctxfi/ctatc.c b/sound/pci/ctxfi/ctatc.c
index e536ab97ddeb..5cc8c3860b11 100644
--- a/sound/pci/ctxfi/ctatc.c
+++ b/sound/pci/ctxfi/ctatc.c
@@ -1333,6 +1333,7 @@ static int atc_create_hw_devs(struct ct_atc *atc)
pr_err("Failed to create hw obj!!!\n");
return err;
}
+ hw->card = atc->card;
atc->hw = hw;
/* Initialize card hardware. */